linux-hardened/sound/soc
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
..
atmel ASoC: Fix codec device id format used by some dai_links 2011-01-25 15:12:36 +00:00
au1x ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
blackfin ASoC: Fix codec device id format used by some dai_links 2011-01-25 15:12:36 +00:00
codecs ASoC: CX20442: fix wrong reg_cache_default content 2011-02-11 11:00:30 +00:00
davinci asoc: davinci: da830/omap-l137: correct cpu_dai_name 2011-02-03 20:16:09 +00:00
ep93xx ASoC: EP93xx: fixed LRCLK rate and DMA oper. in I2S code 2011-01-17 14:10:00 +00:00
fsl ASoC: Add missing dev_set_drvdata in p1022_ds_probe 2010-11-29 18:28:53 +00:00
imx Merge branch 'for-2.6.37' into for-2.6.38 2010-11-25 11:17:24 +00:00
jz4740 ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
kirkwood ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
nuc900 Merge branch 'for-2.6.37' into for-2.6.38 2010-11-30 11:35:43 +00:00
omap ASoC: Amstrad Delta: fix const related build error 2011-02-01 14:13:47 +00:00
pxa ASoC: correct link specifications for corgi, poodle and spitz 2011-01-25 15:18:42 +00:00
s6000 ASoC: Remove needless inclusion of tlv320aic3x.h from machine drivers 2011-01-05 11:28:50 +00:00
samsung ASoC: Samsung: Fix outdated cpu_dai_name for s3c24xx i2s 2011-01-25 15:12:44 +00:00
sh ASoC: fix migor audio build 2011-01-11 11:00:55 +00:00
txx9 ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
Kconfig ASoC: Make LZO cache compression optional 2010-12-21 23:17:18 +00:00
Makefile ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
soc-cache.c ASoC: soc-cache: Fix invalid memory access during snd_soc_lzo_cache_sync() 2011-01-11 18:27:08 +00:00
soc-core.c ASoC: fill in snd_soc_pcm_runtime.card before calling snd_soc_dai_link.init() 2011-02-02 20:52:06 +00:00
soc-dapm.c ASoC: Sync initial widget state with hardware 2011-02-09 22:51:12 +00:00
soc-jack.c ASoC: Add trace events for jack detection 2010-12-06 14:13:42 +00:00
soc-utils.c ASoC: Add BCLK calculation utility for TDM mode too 2009-11-25 19:55:46 +00:00