OpenCloudOS-Kernel/sound/soc/codecs
Janusz Krzysztofik 8e6bfb9b1f ASoC: CX20442: fix wrong reg_cache_default content
Content of the CX20442's snd_soc_codec_driver.reg_cache_default pointed
area, introduced with my recent NULL pointer dereferece fix (commit
f019ee5feb), occured wrong after further
testing, more thorough than just booting successfully. There are two
problems with it:

1) It should read
	(1 << CX20442_TELOUT) | (1 << CX20442_MIC),
   not
	CX20442_TELOUT | CX20442_MIC.

2) While correctly matching actual codec hardware state on boot when
   fixed per 1), a few more code modifications would still be required
   to reflect that state not only into register cache, but also force
   them into DAPM pins state, otherwise an inconsitency occures which
   may prevent further codec state changes from being applied correctly.
   As a result, the phone stops ringing after reboot, until someone
   picks up the handset for the first time.

Revert that reg_cache_default content to a working, previous de facto
default value of 0, in hope this change can still be accepted as an rc
cycle fix.

Created and tested against linux-2.6.38-rc4

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-02-11 11:00:30 +00:00
..
88pm860x-codec.c ASoC: Yet more x86 tracepoint workarounds 2010-12-29 13:06:18 +00:00
88pm860x-codec.h ASoC: add 88pm860x codec driver 2010-08-18 18:03:09 +01:00
Kconfig ASoC: WL1273 FM radio: Fix breakage with MFD API changes 2011-01-14 12:29:40 +00:00
Makefile Merge branch 'for-2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc-2.6 into topic/asoc 2011-01-12 07:20:30 +01:00
ac97.c ASoC: ac97: add MODULE_ALIAS for the platform driver 2010-10-13 10:35:30 +01:00
ad193x.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
ad193x.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ad1836.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
ad1836.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ad1980.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00: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: ak4535: Improve readability for setting mute 2010-12-01 11:50:09 +00:00
ak4535.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ak4642.c ASoC: Decouple DAPM from CODECs 2010-11-06 11:28:29 -04:00
ak4671.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
ak4671.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
alc5623.c ASoC: Fix inconsistent meaning of default case while checking alc5623->id 2010-12-03 12:25:24 +00:00
alc5623.h ASoC: add support for alc562[123] codecs 2010-10-21 13:51:13 -07:00
cq93vc.c ASoC: DaVinci: fix kernel panic due to uninitialized platform_data 2011-01-28 12:24:50 +00:00
cs42l51.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
cs42l51.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
cs4270.c ASoC: cs4270: use the built-in register cache support 2011-01-10 22:32:24 +00:00
cx20442.c ASoC: CX20442: fix wrong reg_cache_default content 2011-02-11 11:00:30 +00:00
cx20442.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
da7210.c ASoC: Decouple DAPM from CODECs 2010-11-06 11:28:29 -04:00
dmic.c ASoC: DMIC codec: Adding a generic DMIC codec 2011-01-12 00:48:45 +00:00
jz4740.c ASoC: Fix compile breakage in jz4740.c and smartq_wm8987.c 2010-11-22 14:04:05 +00:00
l3.c ASoC: UDA134x codec driver 2008-11-17 11:45:39 +00: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 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2011-01-13 10:32:54 -08: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: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
ssm2602.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
stac9766.c Merge branch 'for-2.6.37' into for-2.6.38 2010-11-22 20:33:12 +00:00
stac9766.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tlv320aic3x.c Merge branch 'topic/asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 into for-2.6.38 2010-12-17 17:37:28 +00:00
tlv320aic3x.h ASoC: tlv320aic3x: Reimplement output mixers 2010-08-28 10:57:58 +01:00
tlv320aic23.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
tlv320aic23.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tlv320aic26.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
tlv320aic26.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tlv320dac33.c ASoC: tlv320dac33: Add DAPM selection for LOM invert 2011-01-12 00:48:45 +00:00
tlv320dac33.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tpa6130a2.c ASoC: tpa6130a2: Fix compiler warning 2011-01-12 00:53:03 +00:00
tpa6130a2.h ASoC: tpa6130a2: Replace DAPM code with direct interface 2010-12-02 11:50:07 +00:00
twl4030.c ASoC: TWL4030: Fix 24bit support 2010-12-14 19:59:50 +00:00
twl6040.c ASoC: twl6040: Convert HF and HS drivers to use DAPM OUT_DRV widget 2010-12-23 14:38:32 +00:00
twl6040.h ASoC: twl6040: Enable plug detection interrupts 2010-12-14 20:36:59 +00:00
uda134x.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
uda134x.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
uda1380.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
uda1380.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wl1273.c ASoC: WL1273 FM radio: Fix breakage with MFD API changes 2011-01-14 12:29:40 +00:00
wl1273.h ASoC: WL1273 FM radio: Fix breakage with MFD API changes 2011-01-14 12:29:40 +00:00
wm2000.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm2000.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8350.c ASoC: Yet more x86 tracepoint workarounds 2010-12-29 13:06:18 +00:00
wm8350.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8400.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8400.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8510.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8510.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8523.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-28 23:42:53 +00:00
wm8523.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8580.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
wm8580.h ASoC: Automatically calculate clock ratio for WM8580 2010-08-15 14:52:12 +01:00
wm8711.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00: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: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8728.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8731.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
wm8731.h ASoC: Support non-crystal master clocks for WM8731 2010-08-18 16:52:56 +01:00
wm8737.c ASoC: Remove redundant hw_write initialisation in WM8737 2010-11-26 15:16:19 +00:00
wm8737.h ASoC: Add initial WM8737 driver 2010-11-24 11:33:12 +00:00
wm8741.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-28 23:42:53 +00:00
wm8741.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8750.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
wm8750.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8753.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-28 23:42:53 +00:00
wm8753.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8770.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8770.h ASoC: WM8770: Initial driver 2010-11-06 11:35:39 -04:00
wm8776.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8776.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8804.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8804.h ASoC: WM8804: Initial driver 2010-09-30 13:32:21 -07:00
wm8900.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
wm8900.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8903.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
wm8903.h ASoC: Fix double comment start 2010-12-27 15:35:17 +00:00
wm8904.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-28 23:42:53 +00:00
wm8904.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8940.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-28 23:42:53 +00:00
wm8940.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8955.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-28 23:42:53 +00:00
wm8955.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8960.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-28 23:42:53 +00:00
wm8960.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8961.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
wm8961.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8962.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-28 23:42:53 +00:00
wm8962.h ASoC: Compress WM8962 register access map 2010-10-11 03:52:04 -07:00
wm8971.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-28 23:42:53 +00:00
wm8971.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8974.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
wm8974.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8978.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
wm8978.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8985.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm8985.h ASoC: WM8985: Initial driver 2010-09-15 16:11:24 +01:00
wm8988.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
wm8988.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8990.c ASoC: WM8990: msleep() takes milliseconds not jiffies 2011-01-17 14:09:44 +00:00
wm8990.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8993.c ASoC: codecs: Remove unused reg_cache fields from device structs 2010-12-28 23:37:21 +00:00
wm8993.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8994-tables.c ASoC: Convert WM8994 to use soc-cache.c cache functions 2010-11-27 10:32:14 +00:00
wm8994.c ASoC: Improve WM8994 digital power sequencing 2011-02-03 20:17:13 +00:00
wm8994.h ASoC: Convert WM8994 to use soc-cache.c cache functions 2010-11-27 10:32:14 +00:00
wm8995.c ASoC: WM8995: Fix incorrect use of snd_soc_update_bits() 2011-01-19 14:49:32 +00:00
wm8995.h ASoC: Remove WM8995 write sequencer bitfield definitions 2010-12-24 11:32:45 +00:00
wm9081.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-28 23:42:53 +00:00
wm9081.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9090.c Merge branch 'for-2.6.37' into for-2.6.38 2010-12-28 23:42:53 +00:00
wm9090.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9705.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm9705.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9712.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm9712.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9713.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
wm9713.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm_hubs.c ASoC: Handle low measured DC offsets for wm_hubs devices 2011-01-21 18:20:16 +00:00
wm_hubs.h ASoC: Store DC offset correction for wm_hubs devices in class W mode 2010-10-28 11:34:03 -07:00