linux/sound/soc
Shawn Guo 4642aabd21 ASoC: wm8962: fix NULL pdata pointer
There is an error in merge commit 384b834 on conflict resolution which
causes the following NULL pdata pointer bug.

wm8962 0-001a: customer id 0 revision D
Unable to handle kernel NULL pointer dereference at virtual address 00000004
pgd = 80004000
[00000004] *pgd=00000000
Internal error: Oops: 5 [#1] SMP ARM
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0+ #1
task: bf870000 ti: bf874000 task.ti: bf874000
PC is at wm8962_probe+0x134/0x6c8
LR is at regmap_unlock_mutex+0x10/0x14
pc : [<80452100>]    lr : [<80304cf4>]    psr: a0000113
sp : bf875c98  ip : 00000000  fp : bf875cd4
r10: 00000000  r9 : bfb1830c  r8 : 80779bc4
r7 : 00000000  r6 : 00000001  r5 : bfbac010  r4 : bfb33e00
r3 : 80304ce4  r2 : 00000000  r1 : 00000001  r0 : fffffffb
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 1000404a  DAC: 00000017
Process swapper/0 (pid: 1, stack limit = 0xbf874238)
Stack: (0xbf875c98 to 0xbf876000)
...

Fix the error by assigning pdata a correct pointer.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-07-04 16:49:51 +01:00
..
atmel ASoC: sam9g20ek: Let device core handle pinctrl 2013-05-12 20:43:37 +04:00
au1x ASoC: switch over to use snd_soc_register_component() on au1x ac97c 2013-03-26 21:55:24 +00:00
blackfin ASoC: blackfin: Remove bf5xx-tdm driver 2013-05-30 12:33:41 +01:00
cirrus ASoC: ep93xx-i2s: Staticize non exported struct 2013-05-15 08:46:38 +04:00
codecs ASoC: wm8962: fix NULL pdata pointer 2013-07-04 16:49:51 +01:00
davinci Merge remote-tracking branch 'asoc/topic/davinci' into asoc-next 2013-06-17 17:20:18 +01:00
dwc ASoC: dwc: Folder path correction in file header. 2013-06-12 16:19:01 +01:00
fsl Merge remote-tracking branch 'asoc/topic/sgtl5000' into asoc-next 2013-06-17 17:20:27 +01:00
generic ASoC: simple-card: add asoc_simple_dai for initializing 2013-01-14 06:55:43 +09:00
jz4740 ASoC: jz4740-i2s: Use clk_prepare_enable/clk_disable_unprepare 2013-05-12 22:09:03 +04:00
kirkwood Merge remote-tracking branch 'asoc/topic/kirkwood' into asoc-next 2013-06-17 17:20:22 +01:00
mid-x86 ASoC: mid-x86: Remove redundant platform_set_drvdata() 2013-05-12 22:07:59 +04:00
mxs Merge remote-tracking branch 'asoc/topic/mxs' into asoc-next 2013-06-17 17:20:23 +01:00
nuc900 ASoC: switch over to use snd_soc_register_component() on nuc900 ac97 2013-03-26 21:57:22 +00:00
omap Merge remote-tracking branch 'asoc/topic/omap' into asoc-next 2013-06-17 17:20:24 +01:00
pxa ASoC: Fix double assignment of .owner in struct snd_soc_card 2013-06-14 11:00:03 +01:00
s6000 ASoC: switch over to use snd_soc_register_component() on s6000 i2s 2013-03-26 21:57:30 +00:00
samsung Merge remote-tracking branch 'asoc/topic/samsung' into asoc-next 2013-06-17 17:20:26 +01:00
sh ASoC: fsi: fixup sparse errors 2013-05-28 15:35:46 +01:00
spear ASoC: spear: Convert to use devm_ioremap_resource 2013-06-17 17:19:58 +01:00
tegra Merge remote-tracking branch 'asoc/topic/tegra' into asoc-next 2013-06-17 17:20:30 +01:00
txx9 ASoC: switch over to use snd_soc_register_component() on txx9aclc ac97 2013-03-26 21:57:51 +00:00
ux500 ASoC: ux500: Add DMA slave config prepare routine 2013-06-12 17:02:52 +01:00
Kconfig ASoC: Add Kconfig and Makefile to support SPEAr audio driver 2013-06-12 16:25:22 +01:00
Makefile ASoC: Add Kconfig and Makefile to support SPEAr audio driver 2013-06-12 16:25:22 +01:00
soc-cache.c ASoC: cache: Standardise ASoC cache messages 2012-11-21 11:39:51 +09:00
soc-compress.c ASoC: soc-compress: Send correct stream event for capture start 2013-05-20 08:01:48 -05:00
soc-core.c ASoC: core: Use kasprintf instead of opencoding it 2013-05-14 16:52:52 +04:00
soc-dapm.c Merge remote-tracking branch 'asoc/topic/dapm' into asoc-next 2013-06-17 17:20:17 +01:00
soc-dmaengine-pcm.c ASoC: dmaengine_pcm: Add support for compat platforms 2013-04-17 14:21:36 +01:00
soc-generic-dmaengine-pcm.c ASoC: generic-dmaengine-pcm: call dma_request_slave_channel() 2013-04-23 11:34:29 +01:00
soc-io.c ASoC: core: Use PTR_RET function 2013-03-26 14:12:01 +00:00
soc-jack.c Merge remote-tracking branch 'asoc/topic/log' into asoc-next 2012-12-10 00:22:14 +09:00
soc-pcm.c Merge remote-tracking branch 'asoc/topic/core' into asoc-next 2013-06-17 17:20:16 +01:00
soc-utils.c ASoC: simplify registration of snd-soc-dummy device 2013-05-17 12:07:49 +01:00