linux-kernel-test/sound/soc
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
..
atmel
au1x
blackfin ASoC: bfin: use dev_err to print error log instead of dev_dbg 2012-06-21 11:07:55 +01:00
codecs ASoC: sgtl5000: remove unneeded snd_soc_dapm_new_widgets in probe 2012-07-24 20:19:34 +01:00
davinci
dwc ASoC: dwc: Staticise non-exported i2s_start() 2012-07-04 19:15:43 +01:00
ep93xx ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer 2012-06-20 15:38:32 +01:00
fsl ASoC imx-audmux: add MX31_AUDMUX_PORT7_SSI_PINS_7 define 2012-07-18 22:09:40 +01:00
generic ASoC: add generic simple-card support 2012-04-13 11:29:25 +01:00
jz4740 ASoC: JZ4740: Replaced comma operators with semicolons. 2012-04-06 18:22:05 +01:00
kirkwood ARM: Orion: Audio: Add clk/clkdev support 2012-05-08 16:34:03 -07:00
mid-x86
mxs ASoC: mxs-saif: set a base clock rate for EXTMASTER mode work 2012-07-24 20:18:18 +01:00
nuc900
omap ASoC: omap-mcpdm: Add missing MODULE_ALIAS 2012-07-06 19:07:38 +01:00
pxa Merge branch 'for-3.5' into for-3.6 2012-07-23 10:45:07 +01:00
s6000
samsung ASoC: littlemill: Add userspace control of the WM1250 I/O 2012-07-18 22:09:23 +01:00
sh ASoC: fsi: use PIO handler if DMA handler was invalid 2012-06-03 13:06:39 +01:00
spear ASoC: SPEAr spdif_out: Add spdif out support 2012-07-04 12:34:28 +01:00
tegra ASoC: tegra: use dmaengine based dma driver 2012-07-03 20:07:24 +01:00
txx9 dmaengine/dma_slave: introduce inline wrappers 2012-03-21 19:20:22 +05:30
ux500 ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer 2012-06-20 15:38:32 +01:00
Kconfig ASoC: Add support for synopsys i2s controller as per ASoC framework. 2012-06-22 10:25:45 +01:00
Makefile ASoC: Add support for synopsys i2s controller as per ASoC framework. 2012-06-22 10:25:45 +01:00
soc-cache.c
soc-core.c ASoC: Free memory in the error paths of soc_of_parse_audio_routing() 2012-07-11 18:40:57 +01:00
soc-dapm.c Merge branch 'for-3.5' into for-3.6 2012-07-23 10:45:07 +01:00
soc-dmaengine-pcm.c ASoC: dmaengine_pcm: fix typo in comment 2012-06-25 09:52:44 +01:00
soc-io.c ASoC: io: Don't dereference regmap if we failed to get one 2012-06-23 12:11:32 +01:00
soc-jack.c ASoC: jack: Push locking for jacks down to the jack 2012-04-01 11:28:23 +01:00
soc-pcm.c ASoC: dpcm: Allow FE to be opened without valid BE routes. 2012-07-06 19:06:58 +01:00
soc-utils.c