summaryrefslogtreecommitdiff
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2013-02-01 10:38:45 -0600
committerTony Lindgren <tony@atomide.com>2013-02-01 14:08:19 -0800
commit6797b4fe0e554ce71f47038fd929c9ca929a9f3c (patch)
tree726460b24c21c127d9155c8f1269833a60ce4811 /drivers/mtd/onenand
parenta16723709cff6d69567024c28d32d1344f08cecf (diff)
downloadlinux-6797b4fe0e554ce71f47038fd929c9ca929a9f3c.tar.gz
linux-6797b4fe0e554ce71f47038fd929c9ca929a9f3c.tar.xz
ARM: OMAP2+: Prevent potential crash if GPMC probe fails
If the GPMC probe fails, devices that use the GPMC (such as ethernet chips, flash memories, etc) can still allocate a GPMC chip-select and register the device. On the OMAP2420 H4 board, this was causing the kernel to crash after the gpmc probe failed and the board attempted to start networking. Prevent this by marking all the chip-selects as reserved by default and only make them available for devices to request if the GPMC probe succeeds. Signed-off-by: Jon Hunter <jon-hunter@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/mtd/onenand')
0 files changed, 0 insertions, 0 deletions