1. 29 10月, 2014 1 次提交
  2. 23 9月, 2014 1 次提交
  3. 22 7月, 2014 1 次提交
  4. 27 6月, 2014 1 次提交
  5. 23 6月, 2014 1 次提交
  6. 29 5月, 2014 1 次提交
  7. 26 5月, 2014 4 次提交
  8. 25 3月, 2014 1 次提交
  9. 25 2月, 2014 1 次提交
    • T
      ALSA: hda - Replace with standard printk · 4e76a883
      Takashi Iwai 提交于
      Use dev_err() and co for messages from HD-audio controller and codec
      drivers.  The codec drivers are mostly bound with codec objects, so
      some helper macros, codec_err(), codec_info(), etc, are provided.
      They merely wrap the corresponding dev_xxx().
      
      There are a few places still calling snd_printk() and its variants
      as they are called without the codec or device context.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4e76a883
  10. 19 12月, 2013 1 次提交
  11. 29 10月, 2013 1 次提交
  12. 02 8月, 2013 1 次提交
    • T
      ALSA: hda - Fix missing fixup for Mac Mini with STAC9221 · 697aebab
      Takashi Iwai 提交于
      A fixup for Apple Mac Mini was lost during the adaption to the generic
      parser because the fallback for the generic ID 8384:7680 was dropped,
      and it resulted in the silence output (and maybe other problems).
      
      Unfortunately, just adding the missing subsystem ID wasn't enough, in
      this case.  The subsystem ID of this machine is 0000:0100 (what Apple
      thought...?), and since snd_hda_pick_fixup() doesn't take the vendor
      id zero into account, the driver ignored this entry.  Now it's fixed
      to regard the vendor id zero as a valid value.
      Reported-and-tested-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      697aebab
  13. 11 4月, 2013 1 次提交
  14. 22 3月, 2013 1 次提交
    • D
      ALSA: hda - Introduce "Headset Mic" name · a385d97b
      David Henningsson 提交于
      Headset mic jacks, i e TRRS style jacks with Headphone Left,
      Headphone Right, Mic and GND signals, are becoming increasingly
      common and are now being shipped by several manufacturers.
      
      Unfortunately, the HDA specification does not give us any hint
      of whether a Mic pin belongs to such a jack or not, but it would
      still be helpful for the user to know (especially if there is one
      TRS Mic jack and one TRRS headset jack).
      
      This new fixup causes the first (non-dock, non-internal) mic to
      be a headset mic jack. The algorithm can be later refined if needed.
      Signed-off-by: NDavid Henningsson <david.henningsson@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a385d97b
  15. 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
  16. 24 1月, 2013 1 次提交
  17. 18 1月, 2013 1 次提交
  18. 15 1月, 2013 1 次提交
    • T
      ALSA: hda - Check pincap while parsing the configuration · 52fd5cbc
      Takashi Iwai 提交于
      Sometimes (or rather often) BIOS sets the pin default configurations
      obviously wrongly.  Looking through these failures, one common pattern
      is to enable some dead pins that are usually marked as speaker pins.
      In such a case, we can skip them if the pins don't have the output
      capability.
      
      In this patch, add a check for the valid pin cap bit for each parsed
      pin, and filter out when it's invalid.
      
      The fix was originally suggested by Raymond Yau.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      52fd5cbc
  19. 12 1月, 2013 6 次提交
  20. 30 11月, 2012 1 次提交
  21. 06 10月, 2012 1 次提交
  22. 11 9月, 2012 1 次提交
  23. 07 9月, 2012 1 次提交
  24. 08 8月, 2012 1 次提交
    • T
      ALSA: hda - Fix ugly debug prints with CONFIG_SND_VERBOSE_PRINTK=y · 709aea6b
      Takashi Iwai 提交于
      When CONFIG_SND_VERBOSE_PRINTK=y is set, the debug print in
      hda_auto_parser.c looks really ugly like:
      
        ALSA sound/pci/hda/hda_auto_parser.c:331    mono: mono_out=0x0
        ALSA sound/pci/hda/hda_auto_parser.c:334    dig-out=0x12/0x0
        ALSA sound/pci/hda/hda_auto_parser.c:335    inputs:
        ALSA sound/pci/hda/hda_auto_parser.c:339  Mic=0x11ALSA sound/pci/hda/hda_auto_parser.c:339  Line=0x10
        ALSA sound/pci/hda/hda_auto_parser.c:341
        ALSA sound/pci/hda/hda_auto_parser.c:343    dig-in=0x13
      
      Better to put one item at each line.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      709aea6b
  25. 19 7月, 2012 1 次提交
  26. 26 6月, 2012 1 次提交
  27. 09 5月, 2012 2 次提交