02 Jan, 2012
9 commits
-
Use snd_soc_register_card() instead of creating a "soc-audio" platform device.
Signed-off-by: Axel Lin
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Also remove a unsued ret variable to silence the build warning.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Also remove a unused ret variable to silence the build warning.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown
30 Dec, 2011
5 commits
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown -
Use snd_soc_register_card() instead of creating a "soc-audio" platform device.
Signed-off-by: Axel Lin
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown
22 Dec, 2011
1 commit
-
Missed .owner of struct snd_soc_card will prevent the module from being
removed from underneath its users.Reported-by: Lothar Waßmann
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
20 Dec, 2011
2 commits
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
17 Dec, 2011
5 commits
-
Use snd_soc_register_card() instead of creating a "soc-audio" platform device.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Use snd_soc_register_card() instead of creating a "soc-audio" platform device.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Use snd_soc_register_card() instead of creating a "soc-audio" platform device.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Use snd_soc_register_card() instead of creating a "soc-audio" platform device.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Use snd_soc_register_card() instead of creating a "soc-audio" platform device.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
12 Dec, 2011
2 commits
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
08 Dec, 2011
3 commits
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
05 Dec, 2011
3 commits
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
SND_SOC_RAUMFELD selects SND_SOC_CS4270 which needs CONFIG_I2C,
and also selects SND_SOC_AK4104 which needs SPI_MASTER.
Thus make SND_SOC_RAUMFELD depend on I2C && SPI_MASTER.Add depend on SPI_MASTER to fix below build error if CONFIG_SPI_MASTER
is not selected.LD .tmp_vmlinux1
sound/built-in.o: In function `ak4104_spi_write':
last.c:(.text+0x290cc): undefined reference to `spi_sync'
sound/built-in.o: In function `ak4104_probe':
last.c:(.text+0x292a0): undefined reference to `spi_write_then_read'
sound/built-in.o: In function `ak4104_spi_probe':
last.c:(.text+0x29398): undefined reference to `spi_setup'
sound/built-in.o: In function `ak4104_init':
last.c:(.init.text+0x4ec): undefined reference to `spi_register_driver'
make: *** [.tmp_vmlinux1] Error 1Add depend on I2C to fix below build error if CONFIG_I2C is not selected:
CC sound/soc/codecs/cs4270.o
sound/soc/codecs/cs4270.c: In function 'cs4270_i2c_probe':
sound/soc/codecs/cs4270.c:657: error: implicit declaration of function 'i2c_smbus_read_byte_data'
sound/soc/codecs/cs4270.c: In function 'cs4270_init':
sound/soc/codecs/cs4270.c:730: error: implicit declaration of function 'i2c_add_driver'
sound/soc/codecs/cs4270.c: In function 'cs4270_exit':
sound/soc/codecs/cs4270.c:736: error: implicit declaration of function 'i2c_del_driver'
make[3]: *** [sound/soc/codecs/cs4270.o] Error 1
make[2]: *** [sound/soc/codecs] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2SND_PXA2XX_SOC_HX4700 selects SND_SOC_AK4641 which needs CONFIG_I2C.
Thus make SND_PXA2XX_SOC_HX4700 depend on I2C.Add depend on I2C to fix below build error if CONFIG_I2C is not selected:
CC sound/soc/codecs/ak4641.o
sound/soc/codecs/ak4641.c: In function 'ak4641_modinit':
sound/soc/codecs/ak4641.c:646: error: implicit declaration of function 'i2c_add_driver'
sound/soc/codecs/ak4641.c: In function 'ak4641_exit':
sound/soc/codecs/ak4641.c:656: error: implicit declaration of function 'i2c_del_driver'
make[3]: *** [sound/soc/codecs/ak4641.o] Error 1
make[2]: *** [sound/soc/codecs] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
25 Nov, 2011
1 commit
-
Factor out some boilerplate code.
Signed-off-by: Axel Lin
Acked-by: Marek Vasut
Acked-by: Robert Jarzmik
Signed-off-by: Mark Brown
23 Nov, 2011
1 commit
-
Commit 1ee46ebd("ASoC: Make the DAI ops constant in the DAI structure")
introduced the possibility to have constant DAI ops structures, yet this is
barley used in both existing drivers and also new drivers being submitted,
although none of them modifies its DAI ops structure. The later is not
surprising since existing drivers are often used as templates for new drivers.
So this patch just constifies all existing snd_soc_dai_ops structs to eliminate
the issue altogether.The patch was generated with the following coccinelle semantic patch:
//
@@
identifier ops;
@@
-struct snd_soc_dai_ops ops =
+const struct snd_soc_dai_ops ops =
{ ... };
//Signed-off-by: Lars-Peter Clausen
Signed-off-by: Mark Brown
01 Nov, 2011
1 commit
-
Lots of sound drivers were getting module.h via the implicit presence
of it in but we are going to clean that up. So
fix up those users now.Signed-off-by: Paul Gortmaker
13 Oct, 2011
2 commits
-
The core will sync DAPM as part of the card initialization, there is no
need for machine drivers to do so during their setup.Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
In saarb_pm860x_init() and evb3_pm860x_init(), we call
pm860x_hs_jack_detect() and pm860x_mic_jack_detect() which in turn
calls pm860x_set_bits().
Thus make SND_SOC_SAARB and SND_SOC_TAVOREVB3 select MFD_88PM860X.This patch fixes below build error if CONFIG_MFD_88PM860X is not configured.
LD .tmp_vmlinux1
sound/built-in.o: In function `pm860x_write_reg_cache':
last.c:(.text+0x29e9c): undefined reference to `pm860x_reg_write'
sound/built-in.o: In function `pm860x_set_bias_level':
last.c:(.text+0x29ecc): undefined reference to `pm860x_set_bits'
last.c:(.text+0x29f00): undefined reference to `pm860x_reg_write'
last.c:(.text+0x29f18): undefined reference to `pm860x_reg_write'
sound/built-in.o: In function `pm860x_read_reg_cache':
last.c:(.text+0x29f40): undefined reference to `pm860x_reg_read'
sound/built-in.o: In function `pm860x_probe':
last.c:(.text+0x2a034): undefined reference to `pm860x_bulk_read'
sound/built-in.o: In function `pm860x_codec_handler':
last.c:(.text+0x2a344): undefined reference to `pm860x_reg_read'
last.c:(.text+0x2a354): undefined reference to `pm860x_reg_read'
sound/built-in.o: In function `pm860x_mic_jack_detect':
last.c:(.text+0x2a450): undefined reference to `pm860x_set_bits'
sound/built-in.o: In function `pm860x_hs_jack_detect':
last.c:(.text+0x2a4d0): undefined reference to `pm860x_set_bits'
last.c:(.text+0x2a4f8): undefined reference to `pm860x_set_bits'
last.c:(.text+0x2a510): undefined reference to `pm860x_set_bits'
make: *** [.tmp_vmlinux1] Error 1Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
08 Oct, 2011
1 commit
-
The core will sync DAPM as part of the card initialization, there is no
need for machine drivers to do so during their setup.OMAP drivers are omitted as I know Peter already has patches for them.
Signed-off-by: Mark Brown
03 Oct, 2011
3 commits
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
A recent conversion has introduced references to &pdev->dev, which does
not actually exist in all the contexts it's used in.Replace this with card->dev where necessary, in order to let
the driver build again.Signed-off-by: Arnd Bergmann
Signed-off-by: Mark Brown
Cc: stable@kernel.org
06 Sep, 2011
1 commit
-
Signed-off-by: Axel Lin
Acked-by: Daniel Mack
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown