From: Stefan Wahren Date: Mon, 15 Jun 2015 04:37:00 +0000 (+0000) Subject: usb: phy: mxs: suspend to RAM causes NULL pointer dereference X-Git-Tag: omap-for-v4.3/fixes-merge-window~230^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=543aa4867d4a2dff5fc11e1b688197ee3bad7f89;p=pandora-kernel.git usb: phy: mxs: suspend to RAM causes NULL pointer dereference Triggering suspend to RAM via sysfs on a i.MX28 causes a NULL pointer dereference. This patch avoids the oops in mxs_phy_get_vbus_status() by aborting since there is no syscon available. Signed-off-by: Stefan Wahren Fixes: efdbd3a5d6e ("usb: phy: mxs: do not set PWD.RXPWD1PT1 for low speed connection") CC: # 4.0 Acked-by: Peter Chen Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed