1. 12 2月, 2014 3 次提交
    • T
      ALSA: Mandate to pass a device pointer at card creation time · 393aa9c1
      Takashi Iwai 提交于
      This is a part of preliminary works for modernizing the ALSA device
      structure.  So far, we set card->dev at later point after the object
      creation.  Because of this, the core layer doesn't always know which
      device is being handled before it's actually registered, and it makes
      impossible to show the device in error messages, for example.  The
      first goal is to achieve a proper struct device initialization at the
      very beginning of probing.
      
      As a first step, this patch introduces snd_card_new() function (yes
      there was the same named function in the very past), in order to
      receive the parent device pointer from the very beginning.
      snd_card_create() is marked as deprecated.
      
      At this point, there is no functional change other than that.  The
      actual change of the device creation scheme will follow later.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      393aa9c1
    • T
      ALSA: Drop unused name argument in snd_register_oss_device() · 80d7d771
      Takashi Iwai 提交于
      The last argument, name, of snd_oss_register_device() is nowhere
      referred in the function in the current code.  Let's drop it.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      80d7d771
    • T
      Merge branch 'for-linus' into for-next · c4d14893
      Takashi Iwai 提交于
      c4d14893
  2. 11 2月, 2014 3 次提交
  3. 10 2月, 2014 3 次提交
    • T
      ALSA: hda - Fix undefined symbol due to builtin/module mixup · ef8e39b5
      Takashi Iwai 提交于
      Even after the fix for leftover kconfig handling (commit f8f1becf),
      the current code still doesn't handle properly the builtin/module
      mixup case between the core snd-hda-codec and other codec drivers.
      For example, when CONFIG_SND_HDA_INTEL=y and
      CONFIG_SND_HDA_CODEC_HDMI=m, it'll end up with an unresolved symbol
      snd_hda_parse_hdmi_codec.  This patch fixes the issue.
      
      Now codec->parser points to the parser object *only* when a module
      (either generic or HDMI parser) is loaded and bound.  When a builtin
      symbol is used, codec->parser still points to NULL.  This is the
      difference from the previous versions.
      
      Fixes: f8f1becf ('ALSA: hda - Fix leftover ifdef checks after modularization')
      Reported-by: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ef8e39b5
    • T
      ALSA: Replace with IS_ENABLED() · 8eeaa2f9
      Takashi Iwai 提交于
      Replace the lengthy #if defined(XXX) || defined(XXX_MODULE) with the
      new IS_ENABLED() macro.
      
      The patch still doesn't cover all ifdefs.  For example, the dependency
      on CONFIG_GAMEPORT is still open-coded because this also has an extra
      dependency on MODULE.  Similarly, an open-coded ifdef in pcm_oss.c and
      some sequencer-related stuff are left untouched.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8eeaa2f9
    • M
      ALSA: Fix typos in alsa-driver-api.xml · 0a11458c
      Masanari Iida 提交于
      This patch fixed 2 typos in DocBook/alsa-driver-api.xml.
      It is because this file is generated by make xmldocs,
      I have to fix typos within source files.
      Signed-off-by: NMasanari Iida <standby24x7@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      0a11458c
  4. 08 2月, 2014 3 次提交
  5. 07 2月, 2014 6 次提交
  6. 05 2月, 2014 4 次提交
  7. 04 2月, 2014 1 次提交
  8. 03 2月, 2014 17 次提交