Axel Lin
8b6b30ab66
ASoC: davinci-vcif - fix a memory leak
...
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-25 11:12:34 +00:00
Axel Lin
09de953334
ASoC: phycore-ac97: fix resource leak
...
Fix imx_phycore_init() error path and imx_phycore_exit() to properly free
allocated resources.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Sascha Hauer <s.hauer@pengutronix.de >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-25 11:10:11 +00:00
Axel Lin
ac8f924af5
ASoC: imx-ssi: fix resource leak
...
Fix imx_ssi_probe() error path and imx_ssi_remove() to properly free
allocated resources.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Sascha Hauer <s.hauer@pengutronix.de >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-25 11:09:50 +00:00
Axel Lin
14abca3dfc
ASoC: simone: fix resource leak in simone_init error path
...
Fix the error path to properly free allocated resources.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Mika Westerberg <mika.westerberg@iki.fi >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-25 11:09:30 +00:00
Axel Lin
c7a734e58e
ASoC: sam9g20_wm8731: fix resource leak in at91sam9g20ek_init error path
...
Fix the error path to properly free allocated resources.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-25 11:09:19 +00:00
Axel Lin
b193deead8
ASoC: snd-soc-afeb9260: remove unneeded platform_device_del in error path
...
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-25 11:09:04 +00:00
Axel Lin
917dac0ff1
ASoC: pcm030-audio-fabric: fix resource leak in pcm030_fabric_init error path
...
Add missing platform_device_put() if platform_device_add() failed.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-25 11:08:25 +00:00
Axel Lin
4e1f865097
ASoC: efika-audio-fabric: fix resource leak in efika_fabric_init error path
...
Add missing platform_device_put() if platform_device_add() failed.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-25 11:08:13 +00:00
Axel Lin
3b6bc354cb
ASoC: Call snd_soc_unregister_dais instead of snd_soc_unregister_dai in sh4_soc_dai_remove
...
We call snd_soc_register_dais() in sh4_soc_dai_probe(),
thus we should call snd_soc_unregister_dais() in sh4_soc_dai_remove().
Otherwise, we got "too many arguments to function 'snd_soc_unregister_dai'"
error message.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-25 11:07:28 +00:00
Dmitry Artamonow
846172dfe3
ASoC: fix SND_PXA2XX_LIB Kconfig warning
...
Fix following warning observed when SND_PXA2XX_SOC is set and SND_ARM isn't:
warning: (SND_PXA2XX_AC97 && SOUND && !M68K && SND && SND_ARM && ARCH_PXA ||
SND_PXA2XX_SOC && SOUND && !M68K && SND && SND_SOC && ARCH_PXA) selects
SND_PXA2XX_LIB which has unmet direct dependencies (SOUND && !M68K && SND &&
SND_ARM)
Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-25 11:07:10 +00:00
Axel Lin
d6f443ae4c
ASoC: nuc900-ac97: fix a memory leak
...
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Acked-by: Wan ZongShun <mcuos.com@gmail.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-24 11:31:18 +00:00
Mark Brown
59e2102028
Merge branch 'fix/asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 into for-2.6.37
2010-11-24 11:22:55 +00:00
Axel Lin
5c12d20145
ASoC: Return proper error for omap3pandora_soc_init
...
Return PTR_ERR(omap3pandora_dac_reg) instead of 0 if regulator_get failed.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-24 11:22:45 +00:00
Axel Lin
2f7dceeda4
ASoC: wm8961 - clear WM8961_MCLKDIV bit for freq <= 16500000
...
MCLKDIV bit of Register 04h Clocking1:
0 : Divide by 1
1 : Divide by 2
Thus in the case of freq <= 16500000, we should clear MCLKDIV bit.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@kernel.org
2010-11-24 11:22:44 +00:00
Axel Lin
08b1a38465
ASoC: wm8961 - clear WM8961_DACSLOPE bit for normal mode
...
DACSLOPE bit of Register 06h ADC and DAC Control 2:
0: Normal mode
1: Sloping stop-band mode
Thus in the case of normal mode, we should clear DACSLOPE bit.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@kernel.org
2010-11-24 11:22:43 +00:00
Axel Lin
24fb2b1174
ASoC: wm8994 - fix memory leaks
...
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-23 14:30:12 +00:00
Axel Lin
cd70978cb5
ASoC: wm8904 - fix memory leaks
...
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-23 14:30:00 +00:00
Axel Lin
bc5954f00e
ASoC: max98088 - fix a memory leak
...
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-23 14:29:51 +00:00
Axel Lin
7a479b0284
ASoC: Do not update the cache if write to hardware failed
...
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-23 14:29:11 +00:00
Jesper Juhl
92a5288501
ASoC: MPC5200: Eliminate duplicate include of of_device.h
...
Eliminate duplicate #include <linux/of_device.h> from
sound/soc/fsl/mpc5200_dma.c
Signed-off-by: Jesper Juhl <jj@chaosbits.net >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-23 14:28:39 +00:00
Takashi Iwai
bf86f07e84
Merge branch 'for-2.6.37' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc-2.6 into fix/asoc
2010-11-23 12:40:15 +01:00
Mark Brown
eba19fdd81
ASoC: Restore WM8994 volatile and readable register operations
...
They went AWOL during the multi-component merge.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
2010-11-22 20:30:04 +00:00
Mark Brown
f71a4734b1
ASoC: Fix multi-component mismerge in WM8523
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
2010-11-22 20:27:49 +00:00
Vasiliy Kulikov
b3915d1fb6
ASoC: atmel: test wrong variable
...
After clk_get() mclk is checked second time instead of pllb check.
In patch v1 Jarkko Nikula noticed that PTR_ERR() is also has wrong argument.
Signed-off-by: Vasiliy Kulikov <segoon@openwall.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-22 20:26:44 +00:00
Axel Lin
13a2e06c58
ASoC: stac9766 - set reg_cache_default to stac9766_reg
...
Looks like this is missing during multi-component conversion.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-22 14:03:35 +00:00