linux-kernel-test/sound
Dong Aisheng a07e8d49e8 ASoC: sgtl5000: remove unneeded snd_soc_dapm_new_widgets in probe
There's a driver bug that sgtl5000 dapm widget kcontrols do not work.
e.g. can not select capture mux with amixer tool(no error info prompted).

The root cause is that we still call snd_soc_dapm_new_widgets in
codec driver probe function afer converting to table based widgets.
This will cause the card dapm widgets are instantiated before the
dapm_routes are registered.
Then, no available dapm widget pathes can be found during instantiation
which finally will cause soc_dapm_mux_update_power to fail(can not find
correct path with kcontrol) in snd_soc_dapm_put_enum_double function.

Here we remove the unneeded snd_soc_dapm_new_widgets in codec probe
and let the soc core to handle the register sequence properly.
Then we can fix above issue.

Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-07-24 20:19:34 +01:00
..
aoa
arm ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
atmel ALSA: atmel/ac97c: correct the unexpected behavior when using uninitial value for reset pin 2012-05-11 12:10:04 +02:00
core ALSA: compress_core: cleanup pointers on stop 2012-06-12 17:55:02 +02:00
drivers ALSA: snd-aloop - improve the sample copy accurracy 2012-05-15 08:34:38 +02:00
firewire IEEE 1394 (FireWire) subsystem updates post v3.4: 2012-05-24 12:57:47 -07:00
i2c [media] v4l2-dev: rename two functions 2012-05-14 15:06:50 -03:00
isa Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-05-22 19:22:50 -07:00
mips
oss sound: sound/oss/msnd_pinnacle.c: add vfrees 2012-04-10 08:41:54 +02:00
parisc
pci ALSA: hda - Fix power-map regression for HP dv6 & co 2012-06-26 17:43:06 +02:00
pcmcia
ppc
sh ALSA: sh: Fix up namespace collision in sh_dac_audio. 2012-05-21 11:31:14 +02:00
soc ASoC: sgtl5000: remove unneeded snd_soc_dapm_new_widgets in probe 2012-07-24 20:19:34 +01:00
sparc
spi
synth
usb ALSA: usb-audio: add BOSS GT-100 support 2012-06-25 11:11:24 +02:00
ac97_bus.c
Kconfig
last.c ALSA: workaround: change the timing of alsa_sound_last_init() 2012-04-19 13:51:54 +02:00
Makefile
sound_core.c sound: allow the unit search until 256 in sound_core.c 2012-05-08 17:27:03 +02:00
sound_firmware.c