1
linux/sound/soc
Daniel Mack 15b5bdaeeb ALSA: ASoC: cs4270: move power management hooks to snd_soc_codec_device
Power management for the cs4270 codec is currently implemented as part
of the i2c_driver struct. The disadvantage of doing it this way is that
the callbacks registered in the snd_soc_card struct are called _before_
the codec's callbacks.

That doesn't work, because the snd_soc_card callbacks will most likely
switch down the codec's power domains or pull the reset GPIOs, and
hence make the i2c communication bail out.

Fix this by binding the suspend and resume code to the
snd_soc_codec_device driver model and let the I2C functions only call
the SoC core function for resume and suspend, which do nothing currently
but will do later.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-08-05 22:13:49 +01:00
..
atmel ASoC: Configure WM8731 SYSCLK at startup on AT91SAM9G20-EK 2009-07-08 18:41:05 +01:00
au1x ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers 2009-04-28 15:06:44 +02:00
blackfin ASoC: Fix checkpatch issues and typos of ad1938 codec and bf5xx-tdm dai 2009-07-29 21:31:53 +01:00
codecs ALSA: ASoC: cs4270: move power management hooks to snd_soc_codec_device 2009-08-05 22:13:49 +01:00
davinci ASoC: davinci: don't use clock names 2009-07-16 10:59:52 +01:00
fsl ASoC: MPC5200: Support for buffer wrap around 2009-08-05 22:10:14 +01:00
omap ASoC: add support for Amstrad E3 (Delta) machine 2009-07-31 22:38:44 +01:00
pxa ASoC: Switch palm27x-asoc to jack detection api 2009-07-24 11:29:03 +01:00
s3c24xx ASoC: Existing S3C24xx AC97 drivers should depend on S3C24xx 2009-08-05 17:15:04 +01:00
s6000 ASoC: correct s6000 I2S clock polarity 2009-04-06 11:18:39 +01:00
sh ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
txx9 ASoC: txx9aclc: dynamically allocate dmaengine devname 2009-06-25 21:06:30 +01:00
Kconfig ASoC: Add TXx9 AC link controller driver (v3) 2009-05-19 19:54:28 +01:00
Makefile ASoC: Add TXx9 AC link controller driver (v3) 2009-05-19 19:54:28 +01:00
soc-core.c ASoC: Allow CODECs to flag invalid registers 2009-07-31 18:54:48 +01:00
soc-dapm.c ASoC: fix checking for external widgets bug 2009-07-13 23:01:29 +01:00
soc-jack.c ASoC: jack: Fix race in snd_soc_jack_add_gpios 2009-07-31 22:38:43 +01:00