From: Simon Horman Date: Thu, 16 May 2013 03:14:59 +0000 (+0900) Subject: ARM: shmobile: marzen: Use error values in usb_power_* X-Git-Tag: v3.10-rc3~13^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f10428e4a6d99cc019270c51ad5a33fb38addeb;p=pandora-kernel.git 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 Signed-off-by: Simon Horman --- Reading git-diff-tree failed