diff options
author | Stefan Wahren <[email protected]> | 2015-06-15 04:37:00 +0000 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2015-07-06 12:34:08 -0500 |
commit | 543aa4867d4a2dff5fc11e1b688197ee3bad7f89 (patch) | |
tree | 3b41e60a230bf09b9fab76565932f8f5cf1a9517 /lib/string_helpers.c | |
parent | 2184fe636b4e310cba52251971cee82cb2407a68 (diff) |
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 <[email protected]>
Fixes: efdbd3a5d6e ("usb: phy: mxs: do not set PWD.RXPWD1PT1 for low speed connection")
CC: <[email protected]> # 4.0
Acked-by: Peter Chen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions