linux_dsm_epyc7002/sound/soc/fsl
Fabio Estevam bae35992af ASoC: fsl: imx-audmux: Do not call imx_audmux_parse_dt_defaults() on non-dt kernel
Booting a mx51babbage board with a non-dt kernel leads to the following crash:

Unable to handle kernel NULL pointer dereference at virtual address 0000001c
pgd = 80004000
[0000001c] *pgd=00000000
Internal error: Oops: 5 [#1] SMP ARM
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.11.0-next-20130903 #287
task: 9f860000 ti: 9f862000 task.ti: 9f862000
PC is at of_get_next_available_child+0x5c/0x68
LR is at of_get_next_available_child+0x1c/0x68
pc : [<8043ea58>]    lr : [<8043ea18>]    psr: 60000193
sp : 9f863d58  ip : 00000000  fp : 9f863d74
r10: 9f89a010  r9 : 9f862000  r8 : 807bb26c
r7 : 80615d5c  r6 : 00000000  r5 : 60000113  r4 : 00000000
r3 : 00000000  r2 : 808770a4  r1 : 00000011  r0 : 60000113
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 90004019  DAC: 00000017
Process swapper/0 (pid: 1, stack limit = 0x9f862240)
Stack: (0x9f863d58 to 0x9f864000)

This is caused by commit 8548a464b9 (ASoC: imx-audmux: Read default
configuration from devicetree).

In order to fix this, add a check for 'of_id' so that
imx_audmux_parse_dt_defaults() only gets called when a dt kernel is running.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-09-04 00:20:00 +01:00
..
efika-audio-fabric.c ASoC: fsl: Add .owner to struct snd_soc_card 2011-12-22 17:34:32 +00:00
eukrea-tlv320.c ASoC: fsl: remove use of imx-fiq-pcm-audio from imx-ssi 2013-05-15 09:27:27 +04:00
fsl_dma.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
fsl_dma.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
fsl_spdif.c ASoC: fsl_spdif: Staticse non-exported symbols 2013-09-01 12:52:25 +01:00
fsl_spdif.h ASoC: fsl: Add S/PDIF CPU DAI driver 2013-08-22 10:45:22 +01:00
fsl_ssi.c ASoC: fsl_ssi: Remove unnecessary dev_set_drvdata() 2013-08-26 20:41:59 +01:00
fsl_ssi.h ASoC: fsl-ssi: Add SACNT definitions 2013-04-16 13:03:15 +01:00
fsl_utils.c ASoC: fsl: remove helper fsl_asoc_get_codec_dev_name 2012-04-01 11:28:27 +01:00
fsl_utils.h ASoC: fsl: remove helper fsl_asoc_get_codec_dev_name 2012-04-01 11:28:27 +01:00
imx-audmux.c ASoC: fsl: imx-audmux: Do not call imx_audmux_parse_dt_defaults() on non-dt kernel 2013-09-04 00:20:00 +01:00
imx-audmux.h ASoC: imx-audmux: Move definitions to dt-bindings 2013-08-16 11:05:17 +01:00
imx-mc13783.c ASoC: imx_mc13783: add .owner to struct snd_soc_card 2013-07-15 11:10:36 +01:00
imx-pcm-dma.c ASoC: imx: Add MODULE_LICENSE to DMA drivers 2013-08-19 14:31:02 +01:00
imx-pcm-fiq.c ASoC: imx: Add MODULE_LICENSE to DMA drivers 2013-08-19 14:31:02 +01:00
imx-pcm.h ASoC: fsl: Fix module build 2013-07-31 14:59:11 +01:00
imx-sgtl5000.c ASoC: imx-sgtl5000: fix error return code in imx_sgtl5000_probe() 2013-07-16 14:29:28 +01:00
imx-spdif.c ASoC: fsl: Add S/PDIF machine driver 2013-08-29 13:15:26 +01:00
imx-ssi.c ASoC: fsl: Set sdma peripheral type directly 2013-07-25 20:11:27 +01:00
imx-ssi.h ASoC: imx-pcm-fiq: Introduce pcm-fiq-params 2013-07-15 11:10:36 +01:00
imx-wm8962.c ASoC: fsl: imx-wm8962: Fix error path 2013-07-18 21:51:14 +01:00
Kconfig ASoC: fsl: Drop SND_SOC_FSL_UTILS from SND_SOC_IMX_SPDIF 2013-08-30 11:00:55 +01:00
Makefile ASoC: fsl: Add one blank space after ':=' in Makefile 2013-08-30 23:01:18 +01:00
mpc5200_dma.c powerpc, dma: move bestcomm driver from arch/powerpc/sysdev to drivers/dma 2013-01-03 15:41:20 +01:00
mpc5200_dma.h ASoC: fsl: mpc5200 combine psc_dma platform data 2012-09-18 23:03:42 -04:00
mpc5200_psc_ac97.c ASoC: ac97: Support multi-platform AC'97 2013-06-27 09:48:42 +01:00
mpc5200_psc_ac97.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
mpc5200_psc_i2s.c ASoC: switch over to use snd_soc_register_component() on mpc5200 i2s 2013-03-26 21:55:26 +00:00
mpc8610_hpcd.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
mx27vis-aic32x4.c ASoC: fsl: remove use of imx-pcm-audio from imx-ssi 2013-05-15 09:27:27 +04:00
p1022_ds.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
p1022_rdk.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
pcm030-audio-fabric.c ASoC: pcm030 audio fabric: remove __init from probe 2013-03-12 18:55:26 +00:00
phycore-ac97.c ASoC: fsl: remove use of imx-fiq-pcm-audio from imx-ssi 2013-05-15 09:27:27 +04:00
wm1133-ev1.c ASoC: fsl: remove use of imx-fiq-pcm-audio from imx-ssi 2013-05-15 09:27:27 +04:00