1. 08 2月, 2013 2 次提交
  2. 07 2月, 2013 5 次提交
  3. 06 2月, 2013 1 次提交
  4. 05 2月, 2013 3 次提交
  5. 04 2月, 2013 1 次提交
  6. 01 2月, 2013 3 次提交
  7. 30 1月, 2013 1 次提交
  8. 29 1月, 2013 1 次提交
  9. 28 1月, 2013 2 次提交
  10. 26 1月, 2013 1 次提交
    • T
      ALSA: Make snd_printd() and snd_printdd() inline · 86b27237
      Takashi Iwai 提交于
      Because currently snd_printd() and snd_printdd() macros are expanded
      to empty when CONFIG_SND_DEBUG=n, a compile warning like below
      appears sometimes, and we had to covert it by ugly ifdefs:
        sound/pci/hda/patch_sigmatel.c: In function ‘stac92hd71bxx_fixup_hp’:
        sound/pci/hda/patch_sigmatel.c:2434:24: warning: unused variable ‘spec’ [-Wunused-variable]
      
      For "fixing" these issues better, this patch replaces snd_printd() and
      snd_printdd() definitions with empty inline functions instead of
      macros.  This should have the same effect but shut up warnings like
      above.
      
      But since we had already put ifdefs, changing to inline functions
      would trigger compile errors.  So, such ifdefs is removed in this
      patch.
      
      In addition, snd_pci_quirk name field is defined only when
      CONFIG_SND_DEBUG_VERBOSE is set, and the reference to it in
      snd_printdd() argument triggers the build errors, too.  For avoiding
      these errors, introduce a new macro snd_pci_quirk_name() that is
      defined no matter how the debug option is set.
      Reported-by: NStratos Karafotis <stratosk@semaphore.gr>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      86b27237
  11. 25 1月, 2013 6 次提交
  12. 24 1月, 2013 6 次提交
  13. 23 1月, 2013 5 次提交
  14. 22 1月, 2013 3 次提交
    • T
      ALSA: hda - Add SPDIF mux control to AD codec auto-parser · 272f3ea3
      Takashi Iwai 提交于
      AD codecs have strange implementations for choosing the SPDIF-output
      mux source: the digital audio out widget may take the sources from
      multiple connections, where 0x01 indicates it's a PCM while others
      point ADCs.  It's obviously invalid in the HD-audio spec POV, but it's
      somehow convincing, too.  And, to make things more complex, AD1988A
      and AD1882 have deeper connection routes that aren't expressed
      correctly.
      
      In this patch, the SPDIF mux control is implemented in two ways:
      - For easier one like AD1981, AD1983, AD1884 and AD1984, where the
        SPDIF audio out widget takes just two or three sources, we can
        simply implement via the normal input_mux and connection verb
        calls.
      
      - For the complex routes like AD1988A (but not AD1988B) or AD1882, we
        prepare "faked" paths represented statically, and switch the paths
        using these static ones, instead of parsing the routes from the
        widget tree.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      272f3ea3
    • T
      ALSA: hda - Combine snd_hda_codec_flush_*_cache() to a single function · dc870f38
      Takashi Iwai 提交于
      Since both snd_hda_codec_flush_amp_cache() and
      snd_hda_codec_flush_cmd_cache() are called usually at the same time,
      we can simply combine them to a single function,
      snd_hda_codec_flush_cache().
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      dc870f38
    • T
      ALSA: hda - Fix missing call of cmd flush in capture volume put callback · a836dbf6
      Takashi Iwai 提交于
      The capture volume put callback may call the node selection change,
      and its actual call won't be triggered unless flushed.  In general,
      we always need to call both snd_hda_codec_flush_amp_cache() and
      snd_hda_codec_flush_cmd_cache() at the same place...
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a836dbf6