1. 15 11月, 2016 5 次提交
    • T
      ALSA: emu10k1: Simplify firmware loader code · 4e4dfe4c
      Takashi Iwai 提交于
      The EMU1010 support in emu10k1 driver has two request_firmware()
      calls, one for the main board and one for the dock.  Both call
      patterns are fairly similar, and we can simplify it by introducing a
      helper function and a table instead of the open switch/case.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4e4dfe4c
    • T
      ALSA: emu10k1: Fix emu1010 dock attach check · e8c44abe
      Takashi Iwai 提交于
      The emu1010_firmware_thread() checks the previous dock status, but a
      wrong register is recorded as the last status when the dock is plugged
      in.  Usually this isn't a big issue since this value gets overwritten
      by the next loop after one second.  But when a dock is unplugged
      immediately after plugging, it means essentially missing undock
      handling.
      
      This patch addresses it by remembering the correct register value.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e8c44abe
    • T
      ALSA: core: Fix kernel-doc warnings · 43e575fa
      Takashi Iwai 提交于
      Several lines in sound/core.h get the kernel-doc warnings like
      
        ./include/sound/core.h:323: warning: No description found for parameter '...'
      
      where we use define like foo(x, args...) and "args" isn't mentioned in
      the comments.  As an easy workaround, use simple __VA_ARGS__ for VLA
      in macros.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      43e575fa
    • T
      ALSA: compress: Fix kernel-doc warnings · f84551e4
      Takashi Iwai 提交于
      Some fields in struct snd_compr have no corresponding comments, and
      the kernel-doc complains like:
      
        ./include/sound/compress_driver.h:162: warning: No description found for parameter 'id[64]'
        ./include/sound/compress_driver.h:162: warning: No description found for parameter 'proc_root'
        ./include/sound/compress_driver.h:162: warning: No description found for parameter 'proc_info_entry'
      
      Actually all these are internal elements, just put "private:" comment
      so that they will be ignored.
      Acked-by: NVinod Koul <vinod.koul@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f84551e4
    • T
      ALSA: ac97: Fix kernel-doc error with sphinx formatter · 1936f004
      Takashi Iwai 提交于
      Sphinx takes a word like (*foo)->bar in the kernel-doc comments as a
      part of the emphasized marker, and complains like
      
        ./sound/pci/ac97/ac97_codec.c:1908: WARNING: Inline emphasis start-string without end-string.
      
      For avoiding this, wrap it with the quotes (``) in the comment.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1936f004
  2. 14 11月, 2016 1 次提交
  3. 12 11月, 2016 16 次提交
  4. 11 11月, 2016 18 次提交