Skip to content
Commit 0ab11d8e authored by Nicolae Rosia's avatar Nicolae Rosia Committed by Tony Lindgren
Browse files

ARM: OMAP2+: avoid NULL pointer dereference



For OMAP4, volt_data is set in omap44xx_voltagedomains_init.
If the SoC is neither OMAP443X or OMAP446X, we end up with a
NULL in volt_data which causes a kernel oops.
This is the case when booting OMAP4470.

Signed-off-by: default avatarNicolae Rosia <Nicolae_Rosia@mentor.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 4ae46efc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment