summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod.c
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2013-05-16 05:14:59 +0200
committerSimon Horman <horms+renesas@verge.net.au>2013-05-22 08:43:16 +0200
commit5f10428e4a6d99cc019270c51ad5a33fb38addeb (patch)
treec9bffe2de03d4434f7ead26d7a5f35bff616eb71 /arch/arm/mach-omap2/omap_hwmod.c
parentLinux 3.10-rc1 (diff)
downloadlinux-5f10428e4a6d99cc019270c51ad5a33fb38addeb.tar.xz
linux-5f10428e4a6d99cc019270c51ad5a33fb38addeb.zip
ARM: shmobile: marzen: Use error values in usb_power_*
This patch updates the marzen board code as if USB PHY isn't enabled they phy will have a value set by ERR_PTR() rather than be NULL. Without this patch a NULL pointer dereference and kernel panic occurs on initialisation of USB on marzen. This resolves a regression introduced in 3.10-rc1 by b7fa5c2aec5be083eb2719b405089703608e9bc6 ("usb: phy: return -ENXIO when PHY layer isn't enabled"). Tested-by: Nguyen Hong Ky <nh-ky@jinso.co.jp> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
0 files changed, 0 insertions, 0 deletions