linux/sound/soc/codecs
Lars-Peter Clausen 776065e36d ASoC: codecs: wm8753: Fix register cache incoherency
The multi-component patch(commit f0fba2ad1) moved the allocation of the
register cache from the driver to the ASoC core. Most drivers where adjusted to
this, but the wm8753 driver still uses its own register cache for its
private functions, while functions from the ASoC core use the generic cache.
Furthermore the generic cache uses zero-based numbering while the wm8753 cache
uses one-based numbering.
Thus we end up with two from each other incoherent caches, which leads to undefined
behaviour and crashes.
This patch fixes the issue by changing the wm8753 driver to use the generic
register cache in its private functions.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-12-28 23:22:37 +00:00
..
88pm860x-codec.c ASoC: add 88pm860x codec driver 2010-08-18 18:03:09 +01:00
88pm860x-codec.h ASoC: add 88pm860x codec driver 2010-08-18 18:03:09 +01:00
ac97.c ASoC: ac97: add MODULE_ALIAS for the platform driver 2010-10-13 10:35:30 +01:00
ad193x.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ad193x.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ad1836.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ad1836.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ad1980.c ASoC: Staticise AD1980 DAI 2010-10-07 12:56:43 -07:00
ad1980.h Merge branch 'for-2.6.36' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into for-2.6.37 2010-08-15 14:56:40 +01:00
ad73311.c ASoC: sound/ad73311: add missing __devexit marker 2010-10-27 07:53:17 +02:00
ad73311.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ads117x.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ads117x.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ak4104.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ak4535.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ak4535.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ak4642.c ASoC: ak4642: make sure name of register/value 2010-10-15 11:54:51 +01:00
ak4671.c ASoC: Remove needless codec->bias_level assignment to SND_SOC_BIAS_OFF 2010-09-15 12:03:34 +01:00
ak4671.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
cq93vc.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
cs42l51.c ASoC: Change my mail address 2010-09-15 12:03:58 +01:00
cs42l51.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
cs4270.c ASoC: Staticise CS4270 DAI 2010-10-07 13:40:44 -07:00
cx20442.c ASoC: Use a more adequate name for the CX20442 codec DAI 2010-08-19 15:30:43 +01:00
cx20442.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
da7210.c ASoC: da7210: code clean up 2010-09-16 14:14:57 +01:00
jz4740.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
Kconfig ASoC: Include cx20442 to SND_SOC_ALL_CODECS 2010-11-01 09:22:01 -04:00
l3.c ASoC: UDA134x codec driver 2008-11-17 11:45:39 +00:00
Makefile ASoC: Restore MAX98088 CODEC driver 2010-10-18 16:46:27 -07: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
max98088.c ASoC: codecs: max98088: Fix register cache incoherency 2010-12-28 23:19:06 +00:00
max98088.h ASoC: Restore MAX98088 CODEC driver 2010-10-18 16:46:27 -07:00
pcm3008.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
pcm3008.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
spdif_transciever.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ssm2602.c ASoC: Remove needless codec->bias_level assignment to SND_SOC_BIAS_OFF 2010-09-15 12:03:34 +01:00
ssm2602.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
stac9766.c ASoC: stac9766 - set reg_cache_default to stac9766_reg 2010-11-22 14:03:35 +00:00
stac9766.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tlv320aic3x.c ASoC: tlv320aic3x - fix variable may be used uninitialized warning 2010-11-25 21:15:35 +00:00
tlv320aic3x.h ASoC: tlv320aic3x: Reimplement output mixers 2010-08-28 10:57:58 +01:00
tlv320aic23.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tlv320aic23.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tlv320aic26.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tlv320aic26.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tlv320dac33.c ASoC: tlv320dac33: Mode1 FIFO auto configuration fix 2010-10-30 17:33:38 +01:00
tlv320dac33.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tpa6130a2.c ASoC: Do not update the cache if write to hardware failed 2010-11-23 14:29:11 +00:00
tpa6130a2.h ASoC: TPA6130A2: Make tpa6130a2_power as static 2009-10-12 13:40:54 +01:00
twl4030.c ASoC: Remove needless codec->bias_level assignment to SND_SOC_BIAS_OFF 2010-09-15 12:03:34 +01:00
twl6040.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
twl6040.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
uda134x.c ASoC: uda134x - set reg_cache_default to uda134x_reg 2010-11-19 11:19:38 +00:00
uda134x.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
uda1380.c ASoC: UDA1380: Add delay between power on and reset 2010-09-08 11:27:16 +01:00
uda1380.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wl1273.c ASoC: WL1273 FM Radio: Eliminate unnecessary error return value. 2010-09-11 09:03:21 +01:00
wl1273.h ASoC: TI WL1273 FM Radio Codec. 2010-08-20 13:28:49 +01:00
wm2000.c ASoC: Default WM2000 ANC and speaker to enabled 2010-06-15 15:14:00 +01:00
wm2000.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8350.c ASoC: Ensure sane WM835x AIF configuration by default 2010-11-10 15:40:21 +00:00
wm8350.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8400.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8400.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8510.c ASoC: Remove unneeded use of spi_bus_type 2010-09-30 13:32:07 -07:00
wm8510.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8523.c ASoC: codecs: wm8523: Fix register cache incoherency 2010-12-28 23:19:17 +00:00
wm8523.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8580.c ASoC: WM8580: Fix R8 initial value 2010-12-09 10:55:56 +00:00
wm8580.h ASoC: Automatically calculate clock ratio for WM8580 2010-08-15 14:52:12 +01:00
wm8711.c ASoC: Remove unneeded use of spi_bus_type 2010-09-30 13:32:07 -07:00
wm8711.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8727.c ASoC: Staticise WM8727 codec driver structure 2010-08-12 16:10:55 +01:00
wm8728.c ASoC: Remove unneeded use of spi_bus_type 2010-09-30 13:32:07 -07:00
wm8728.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8731.c ASoC: WM8731: Fix incorrect mask for bypass path disable 2010-12-01 11:26:40 +00:00
wm8731.h ASoC: Support non-crystal master clocks for WM8731 2010-08-18 16:52:56 +01:00
wm8741.c ASoC: codecs: wm8741: Fix register cache incoherency 2010-12-28 23:19:27 +00:00
wm8741.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8750.c ASoC: Remove unneeded use of spi_bus_type 2010-09-30 13:32:07 -07:00
wm8750.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8753.c ASoC: codecs: wm8753: Fix register cache incoherency 2010-12-28 23:22:37 +00:00
wm8753.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8776.c ASoC: WM8776: Removed unneeded struct member 2010-11-06 11:11:55 -04:00
wm8776.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8804.c ASoC: checking kzalloc() for IS_ERR() instead of NULL 2010-10-11 12:38:21 +01:00
wm8804.h ASoC: WM8804: Initial driver 2010-09-30 13:32:21 -07:00
wm8900.c ASoC: Remove volatility from WM8900 POWER1 register 2010-11-01 09:21:08 -04:00
wm8900.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8903.c ASoC: Remove unneeded control_data management from Wolfson drivers 2010-08-12 14:00:19 +01:00
wm8903.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8904.c ASoC: codecs: wm8904: Fix register cache incoherency 2010-12-28 23:19:36 +00:00
wm8904.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8940.c ASoC: codecs: Add missing control_type initialization 2010-12-28 23:18:43 +00:00
wm8940.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8955.c ASoC: codecs: wm8955: Fix register cache incoherency 2010-12-28 23:20:00 +00:00
wm8955.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8960.c ASoC: codecs: Add missing control_type initialization 2010-12-28 23:18:43 +00:00
wm8960.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8961.c ASoC: wm8961 - clear WM8961_MCLKDIV bit for freq <= 16500000 2010-11-24 11:22:44 +00:00
wm8961.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8962.c ASoC: codecs: wm8962: Fix register cache incoherency 2010-12-28 23:20:12 +00:00
wm8962.h ASoC: Compress WM8962 register access map 2010-10-11 03:52:04 -07:00
wm8971.c ASoC: codecs: Add missing control_type initialization 2010-12-28 23:18:43 +00:00
wm8971.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8974.c ASoC: Remove unused WM8974 private data 2010-08-17 12:10:18 +01:00
wm8974.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8978.c ASoC: Fix WM8978/migor driver name conflict 2010-09-20 20:43:12 +01:00
wm8978.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8985.c ASoC: checking kzalloc() for IS_ERR() instead of NULL 2010-10-11 12:38:21 +01:00
wm8985.h ASoC: WM8985: Initial driver 2010-09-15 16:11:24 +01:00
wm8988.c ASoC: Remove unneeded use of spi_bus_type 2010-09-30 13:32:07 -07:00
wm8988.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8990.c ASoC: Remove needless codec->bias_level assignment to SND_SOC_BIAS_OFF 2010-09-15 12:03:34 +01:00
wm8990.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8993.c ASoC: Fix incorrect register cache size configuration 2010-09-10 22:21:23 +01:00
wm8993.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8994.c ASoC: wm8994 - fix memory leaks 2010-11-23 14:30:12 +00:00
wm8994.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9081.c ASoC: codecs: Add missing control_type initialization 2010-12-28 23:18:43 +00:00
wm9081.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9090.c ASoC: codecs: wm9090: Fix register cache incoherency 2010-12-28 23:20:22 +00:00
wm9090.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9705.c ASoC: Fix incorrect register cache size configuration 2010-09-10 22:21:23 +01:00
wm9705.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9712.c ASoC: Fix incorrect register cache size configuration 2010-09-10 22:21:23 +01:00
wm9712.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9713.c ASoC: Fix incorrect register cache size configuration 2010-09-10 22:21:23 +01:00
wm9713.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm_hubs.c ASoC: Fix swap of left and right channels for WM8993/4 speaker boost gain 2010-12-06 12:43:13 +00:00
wm_hubs.h ASoC: Support second DC servo readback method for wm_hubs 2010-04-05 16:19:09 +01:00