android_kernel_motorola_sm6225/sound/pci/hda
Steve Longerbeam 7b04389999 [ALSA] hda-codec - bug fixes for stac92xx HDA codecs.
* fixed surround playback on stac922x. Pin direction control bits were
  not being set correctly in stac92xx_set_pinctl(). Specifically it
  would refuse to set the port as an output if the port was already
  configured as an input. Last hunk (#8).
* fixed an input mux bug on 92xx codecs. When there is more than one
  possible input calculated for the muxes, the actual mux widget never
  gets set from its reset default, which is index 0, in the stac9221
  case that is port E. So alsamixer/amixer/gnome-mixer report the Mic
  as being the selected input source, but in fact is something else
  (line-in port E in stac9221 case). Another problem with this is that
  if you actually try to set the mux input to 'Mic', nothing happens
  because *cur_val == idx (see snd_hda_input_mux_put). You have to
  actually toggle input source to line-in then back to mic to actually
  set the mux widget. Hunk #7.
* fixed some typos in patch_sigmatel.c. Hunk #6.
* fix to stac92xx_add_dyn_out_pins() that fixes surround playback on
  codecs with less that 4 DACs (stac9205 for example). It reads the widget
  caps cache created by hda_codec to count the total number of analog DACs
  found. It then uses that to determine whether there will be enough
  independent DACs available for line/mic switch controls. Hunk #1, #2,
  and #3.
* improvements to stac92xx_auto_fill_dac_nids() to make it more general.
  This fixes surround playback on some codecs in combination with the
  fix to stac92xx_add_dyn_out_pins() above. It reads the full connection
  list now, instead of just the first entry, and then locates an analog
  DAC in the list. If one is found and it's free, assign it to that line-out.
  If no free DAC is found for the line-out, return -ENODEV. It also makes
  sure to actually select the chosen DAC if more than one DAC is input to
  the pin. Hunks #4, #5.

Signed-off-by: Steve Longerbeam <stevel@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-05-11 16:56:15 +02:00
..
hda_codec.c [ALSA] hda-codec - Prefer audio codec name as the mixer name 2007-05-11 16:56:12 +02:00
hda_codec.h [ALSA] HDA codec - little code & comment cleanup 2006-09-23 10:37:31 +02:00
hda_generic.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
hda_intel.c [ALSA] hda-intel - Add ATI RS780,R600 HDMI audio support 2007-05-11 16:56:12 +02:00
hda_local.h [ALSA] hda-codec - Add line_out_type to auto_pin_cfg struct 2007-05-11 16:56:09 +02:00
hda_patch.h [ALSA] hda-codec - Add support for VIA VT1708(A) HD audio codec 2007-02-09 09:02:15 +01:00
hda_proc.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
Makefile [ALSA] hda-intel - Merge hda-codec module to a single module 2007-05-11 16:55:59 +02:00
patch_analog.c [ALSA] hda-codec - Add support for Asus A8JN Laptop 2007-05-11 16:56:09 +02:00
patch_atihdmi.c [ALSA] hda-intel - Add ATI RS780,R600 HDMI audio support 2007-05-11 16:56:12 +02:00
patch_cmedia.c [ALSA] hda-codec - Fix SPDIF output 2007-05-11 16:55:56 +02:00
patch_conexant.c [ALSA] hda-codec - Add support for new HP DV series laptops 2007-05-11 16:56:13 +02:00
patch_realtek.c [ALSA] hda-codec - Fix model for ASUS A9rp 2007-05-11 16:56:10 +02:00
patch_si3054.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
patch_sigmatel.c [ALSA] hda-codec - bug fixes for stac92xx HDA codecs. 2007-05-11 16:56:15 +02:00
patch_via.c [ALSA] hda-codec - Fix SPDIF output 2007-05-11 16:55:56 +02:00