linux/arch/arm/mach-exynos
Sachin Kamat bdd1853212 ARM: EXYNOS: Fix NULL pointer dereference bug in SMDK4X12
When DRM support for Samsung SoC and Samsung S3C framebuffer support
are selected, the kernel crashes as it does not get the required
platform data. Change the compile macro to CONFIG_DRM_EXYNOS_FIMD
to fix this.

Fixes the following boot time crash:
Unable to handle kernel NULL pointer dereference at virtual address 00000000
PC is at 0x0
LR is at s3c_fb_probe+0x198/0x788
[<c0152270>] (s3c_fb_probe+0x198/0x788) from [<c019e52c>] (platform_drv_probe+0x18/0x1c)
[<c019e52c>] (platform_drv_probe+0x18/0x1c) from [<c019d2e4>] (driver_probe_device+0x70/0x1f0)
[<c019d2e4>] (driver_probe_device+0x70/0x1f0) from [<c019d4f0>] (__driver_attach+0x8c/0x90)
[<c019d4f0>] (__driver_attach+0x8c/0x90) from [<c019bc3c>] (bus_for_each_dev+0x50/0x7c)
[<c019bc3c>] (bus_for_each_dev+0x50/0x7c) from [<c019cb4c>] (bus_add_driver+0x170/0x23c)
[<c019cb4c>] (bus_add_driver+0x170/0x23c) from [<c019d9a4>] (driver_register+0x78/0x144)
[<c019d9a4>] (driver_register+0x78/0x144) from [<c000862c>] (do_one_initcall+0x34/0x174)
[<c000862c>] (do_one_initcall+0x34/0x174) from [<c020ed7c>] (kernel_init+0x100/0x2a0)
[<c020ed7c>] (kernel_init+0x100/0x2a0) from [<c000e118>] (ret_from_fork+0x14/0x3c)

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
2012-12-19 09:25:18 -08:00
..
include/mach ARM: arm-soc: SoC updates, take 2 2012-12-14 14:38:28 -08:00
clock-exynos4.c ARM: arm-soc: device tree conversions and enablement 2012-12-13 10:39:26 -08:00
clock-exynos4.h ARM: EXYNOS: Move G2D clock entries to clock-exynos4210.c file 2012-07-17 07:52:03 +09:00
clock-exynos5.c ARM: arm-soc: SoC updates, take 2 2012-12-14 14:38:28 -08:00
clock-exynos4210.c ARM: EXYNOS: Move G2D clock entries to clock-exynos4210.c file 2012-07-17 07:52:03 +09:00
clock-exynos4212.c ARM: EXYNOS: Add G2D related clock entries for SMDK4X12 2012-07-17 07:52:03 +09:00
common.c ARM: EXYNOS: fix GIC using for EXYNOS5440 2012-12-18 19:00:25 -08:00
common.h ARM: SoC: convert Exynos4 to SMP operations 2012-09-14 11:14:50 +02:00
cpuidle.c ARM: arm-soc: SoC updates, take 2 2012-12-14 14:38:28 -08:00
dev-ahci.c ARM: EXYNOS: Use common macro to define resources on dev-ahci.c 2012-05-12 16:12:19 +09:00
dev-audio.c ARM: EXYNOS: reorder inclusions of <linux/platform_data/xxx.h> 2012-11-07 08:11:30 +09:00
dev-ohci.c ARM: EXYNOS: reorder inclusions of <linux/platform_data/xxx.h> 2012-11-07 08:11:30 +09:00
dev-sysmmu.c ARM: EXYNOS: Change System MMU platform device definitions 2012-04-04 09:23:02 -07:00
dev-uart.c ARM: EXYNOS: Remove unused static uart resource information 2012-10-29 19:48:54 +09:00
dma.c ARM: EXYNOS: PL330 MDMA1 fix for revision 0 of Exynos4210 SOC 2012-11-20 20:39:39 +09:00
headsmp.S ARM: exynos: remove incorrect BSYM usage 2012-01-16 08:36:04 -06:00
hotplug.c ARM: EXYNOS: fix the hotplug for Cortex-A15 2012-11-28 07:42:04 +09:00
Kconfig ARM: arm-soc: device tree conversions and enablement 2012-12-13 10:39:26 -08:00
mach-armlex4210.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
mach-exynos4-dt.c ARM: arm-soc: device tree conversions and enablement 2012-12-13 10:39:26 -08:00
mach-exynos5-dt.c ARM: EXYNOS: fix build error when MFC is not selected 2012-12-18 19:00:25 -08:00
mach-nuri.c ARM: arm-soc: device tree conversions and enablement 2012-12-13 10:39:26 -08:00
mach-origen.c ARM: EXYNOS: Fix NULL pointer dereference bug in Origen 2012-12-19 09:25:14 -08:00
mach-smdk4x12.c ARM: EXYNOS: Fix NULL pointer dereference bug in SMDK4X12 2012-12-19 09:25:18 -08:00
mach-smdkv310.c Sound updates for 3.8-rc1 2012-12-13 11:51:23 -08:00
mach-universal_c210.c ARM: arm-soc: device tree conversions and enablement 2012-12-13 10:39:26 -08:00
Makefile ARM: arm-soc: device tree conversions and enablement 2012-12-13 10:39:26 -08:00
Makefile.boot ARM: dts: Add basic dts file for Samsung Trats board 2012-09-21 10:50:27 +09:00
mct.c ARM: EXYNOS: add support for EXYNOS5440 SoC 2012-11-22 13:09:18 +09:00
platsmp.c ARM: EXYNOS: fix skip scu_enable() for EXYNOS5440 2012-12-18 19:00:25 -08:00
pm_domains.c ARM: EXYNOS: Bind devices to power domains using DT 2012-11-22 00:38:59 +09:00
pm.c ARM: arm-soc: SoC updates, take 2 2012-12-14 14:38:28 -08:00
pmu.c ARM: EXYNOS: Add missing static storage class specifier in pmu.c file 2012-07-13 06:46:08 +09:00
setup-fimc.c
setup-fimd0.c include/video: move fimd register headers from platform to include/video 2012-08-08 09:44:49 +09:00
setup-i2c0.c ARM: EXYNOS: add support for EXYNOS5440 SoC 2012-11-22 13:09:18 +09:00
setup-i2c1.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c2.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c3.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c4.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c5.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c6.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-i2c7.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
setup-keypad.c
setup-sdhci-gpio.c
setup-spi.c ARM: SAMSUNG: Remove pdev pointer parameter from spi gpio setup functions 2012-07-13 15:23:46 +09:00
setup-usb-phy.c ARM: EXYNOS: Update HSOTG PHY clock setting for EXYNOS4X12 2012-07-13 06:45:55 +09:00