1
linux/sound/soc/codecs
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
..
ac97.c ASoC: Use a shared define for AC97 CODEC data formats 2009-05-02 12:32:09 +01:00
ac97.h ALSA: asoc: codecs - merge structs snd_soc_codec_dai and snd_soc_cpu_dai. 2008-07-10 09:32:39 +02:00
ad1938.c ASoC: Fix checkpatch issues and typos of ad1938 codec and bf5xx-tdm dai 2009-07-29 21:31:53 +01:00
ad1938.h ASoC: new ad1938 codec driver based on asoc 2009-07-16 11:14:39 +01:00
ad1980.c ASoC: Use a shared define for AC97 CODEC data formats 2009-05-02 12:32:09 +01:00
ad1980.h ALSA: ASoC codec: fix compiling error in ad1980 driver after ASoC API changed 2008-09-09 09:10:54 +02:00
ad73311.c ASoC: Push the codec runtime storage into the card structure 2009-01-27 10:30:54 +00:00
ad73311.h ASoC: Blackfin: fix typo in MUTE definition 2009-03-06 13:37:18 +00:00
ak4104.c ASoC: Merge dai_ops factor out 2009-03-11 16:51:31 +00:00
ak4104.h ASoC: Add a driver for AK4104 S/PDIF transmitter 2009-03-09 10:46:17 +00:00
ak4535.c ASoC: Remove unused AK4535 hardware read functionality 2009-07-05 17:28:41 +01:00
ak4535.h ALSA: ASoC: Convert ak4535 to a new-style i2c driver 2008-09-04 10:34:21 +02:00
cs4270.c ALSA: ASoC: cs4270: move power management hooks to snd_soc_codec_device 2009-08-05 22:13:49 +01:00
cs4270.h ALSA: asoc: codecs - merge structs snd_soc_codec_dai and snd_soc_cpu_dai. 2008-07-10 09:32:39 +02:00
cx20442.c ASoC: CX20442: push down machine independent line discipline bits 2009-07-31 22:38:44 +01:00
cx20442.h ASoC: CX20442: push down machine independent line discipline bits 2009-07-31 22:38:44 +01:00
Kconfig ASoC: Add support for Conexant CX20442-11 voice modem codec 2009-07-23 11:08:29 +01:00
l3.c ASoC: UDA134x codec driver 2008-11-17 11:45:39 +00:00
Makefile ASoC: Add support for Conexant CX20442-11 voice modem codec 2009-07-23 11:08:29 +01:00
max9877.c ASoC: MAX9877: fix write operation for register 2009-07-23 11:08:30 +01:00
max9877.h ASoC: MAX9877: add MAX9877 amp driver 2009-07-15 16:59:31 +01:00
pcm3008.c ASoC: Push the codec runtime storage into the card structure 2009-01-27 10:30:54 +00:00
pcm3008.h ASoC: Add PCM3008 ALSA SoC driver 2008-11-19 13:16:38 +00:00
spdif_transciever.c ASoC: spdif: set module licence to GPL 2009-07-13 23:01:30 +01:00
spdif_transciever.h ASoC: Add dummy S/PDIF codec support 2009-05-28 14:48:38 +01:00
ssm2602.c ASoC: Revert duplicated code in SSM2602 driver 2009-06-13 19:35:24 +01:00
ssm2602.h sound: ASoC codec: SSM2602 audio codec driver 2008-09-09 09:11:15 +02:00
stac9766.c ASoC: Keep index within stac9766_reg[] 2009-07-13 10:32:18 +01:00
stac9766.h ASoC: Codec for STAC9766 used on the Efika 2009-05-24 13:15:21 +01:00
tlv320aic3x.c ASoC: tlv320aic3x: Enable PLL when not bypassed 2009-07-23 08:14:29 +01:00
tlv320aic3x.h ALSA: ASoC: tlv320aic3x add dsp_a 2008-12-20 13:05:38 +00:00
tlv320aic23.c ASoC: codec tlv320aic23 fix bogus divide by 0 message 2009-06-06 09:24:48 +01:00
tlv320aic23.h ALSA: ASoC: Add TLV320AIC23 codec driver 2008-10-13 02:16:48 +02:00
tlv320aic26.c ASoC: Replace remaining uses of snd_soc_cnew with snd_soc_add_controls. 2009-03-12 15:43:30 +00:00
tlv320aic26.h ALSA: ASoC: Export DAI and codec for TLV320AIC26 2008-07-29 21:32:25 +02:00
twl4030.c ASoC: TWL4030: Add tristate callbacks for HiFi and Voice 2009-07-03 11:01:05 +01:00
twl4030.h ASoC: TWL4030: Add EXTMUTE to reduce pop-noise effect 2009-07-02 11:06:26 +01:00
uda134x.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
uda134x.h ASoC: Move uda134x_codec.h to uda134x.h 2008-11-18 12:32:33 +00:00
uda1380.c ASoC: UDA1380: refactor device registration 2009-06-15 21:54:48 +01:00
uda1380.h ASoC: UDA1380: refactor device registration 2009-06-15 21:54:48 +01:00
wm8350.c ASoC: Add suspend and resume callbacks to Wolfson CODEC drivers 2009-06-13 22:30:18 +01:00
wm8350.h ASoC: Include WM8350 register definitions in CODEC header 2009-04-27 20:27:01 +01:00
wm8400.c ASoC: Bodge around GCC 4.4.0 flow analysis bug in GCC 4.4.0 2009-07-17 21:53:49 +01:00
wm8400.h ASoC: Add initial driver for the WM8400 CODEC 2009-03-11 13:49:46 +00:00
wm8510.c ASoC: WM8510 has a single frame clock so needs symmetric rates 2009-07-09 11:28:07 +01:00
wm8510.h ALSA: ASoC: Add WM8510 SPI support 2008-10-13 02:17:15 +02:00
wm8523.c ASoC: Add WM8523 CODEC driver 2009-07-01 18:47:45 +01:00
wm8523.h ASoC: Add WM8523 CODEC driver 2009-07-01 18:47:45 +01:00
wm8580.c ASoC: Regulator support for WM8580 2009-06-17 17:33:01 +01:00
wm8580.h ASoC: Move WM8580 to normal I2C device probe 2009-03-12 15:43:24 +00:00
wm8728.c ASoC: make ops a pointer in 'struct snd_soc_dai' 2009-03-04 22:29:47 +00:00
wm8728.h ASoC: Add WM8728 codec driver 2008-11-14 14:44:53 +00:00
wm8731.c ASoC: Limit WM8731 to symmetric rates 2009-07-08 17:48:12 +01:00
wm8731.h ASoC: Refactor WM8731 device registration 2009-02-18 11:55:22 +00:00
wm8750.c ASoC: make ops a pointer in 'struct snd_soc_dai' 2009-03-04 22:29:47 +00:00
wm8750.h sound: ASoC: Add WM8750 SPI support 2008-09-23 08:18:19 +02:00
wm8753.c Merge branch 'for-2.6.31' into for-2.6.32 2009-07-06 21:49:35 +01:00
wm8753.h ASoC: Convert WM8753 to register via normal device probe 2009-02-24 23:49:53 +00:00
wm8900.c ASoC: Add suspend and resume callbacks to Wolfson CODEC drivers 2009-06-13 22:30:18 +01:00
wm8900.h ASoC: Convert WM8900 to do more work at I2C probe time 2008-12-10 19:47:40 +00:00
wm8903.c Merge branch 'for-2.6.31' into for-2.6.32 2009-06-25 13:58:37 +01:00
wm8903.h ASoC: Convert WM8903 driver to register at I2C probe time 2008-12-10 19:47:44 +00:00
wm8940.c ASoC: Add suspend and resume callbacks to Wolfson CODEC drivers 2009-06-13 22:30:18 +01:00
wm8940.h ASoC WM8940 Driver 2009-04-27 20:37:13 +01:00
wm8960.c ASoC: Fix WM8960 leaks on probe failure 2009-07-05 15:47:03 +01:00
wm8960.h ASoC: Add WM8960 CODEC driver 2009-04-13 15:11:46 +01:00
wm8961.c ASoC: Fix WM8961 suspend function type 2009-06-29 16:34:57 +01:00
wm8961.h ASoC: Add WM8961 driver 2009-06-12 17:16:06 +01:00
wm8971.c ASoC: make ops a pointer in 'struct snd_soc_dai' 2009-03-04 22:29:47 +00:00
wm8971.h sound: ASoC: Add WM8971 CODEC driver 2008-09-23 08:18:05 +02:00
wm8988.c ASoC: Fix leaks in WM8988 registration error handling 2009-07-05 16:29:39 +01:00
wm8988.h ASoC: Add WM8988 CODEC driver 2009-04-07 18:51:23 +01:00
wm8990.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
wm8990.h ASoC: Enable WM8990 ADC clocking workaround 2008-11-17 17:24:54 +00:00
wm8993.c ASoC: Fix FLL reference clock division setup in WM8993 2009-07-17 22:13:01 +01:00
wm8993.h ASoC: Add WM8993 CODEC driver 2009-07-08 17:20:20 +01:00
wm9081.c ASoC: Error out if we can't determine a suitable WM9081 sysclk 2009-07-15 11:03:51 +01:00
wm9081.h ASoC: WM9081 mono DAC with integrated 2.6W class AB/D amplifier driver 2009-05-22 15:11:22 +01:00
wm9705.c ASoC: Use a shared define for AC97 CODEC data formats 2009-05-02 12:32:09 +01:00
wm9705.h ASoC: Driver for the WM9705 AC97 codec. 2009-01-16 16:40:25 +00:00
wm9712.c ASoC: Support AC97 link off by default on WM9712 2009-05-14 20:52:46 +01:00
wm9712.h ALSA: asoc: codecs - merge structs snd_soc_codec_dai and snd_soc_cpu_dai. 2008-07-10 09:32:39 +02:00
wm9713.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
wm9713.h ALSA: asoc: codecs - merge structs snd_soc_codec_dai and snd_soc_cpu_dai. 2008-07-10 09:32:39 +02:00