[PATCH] phy: phy-mxs-usb: suspend to RAM causes NULL pointer dereference
From: Stefan Wahren <hidden> Date: 2015-06-30 05:30:35
Am 15.06.2015 um 06:37 schrieb Stefan Wahren:
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 <redacted>
Fixes: efdbd3a5d6e ("usb: phy: mxs: do not set PWD.RXPWD1PT1 for low speed connection")
CC: <redacted> # 4.0
Acked-by: Peter Chen <redacted>