projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdb955c
)
MLK-13638-5 usb: chipidea: usbmisc_imx: add power_lost_check API for imx7ulp
author
Peter Chen
<peter.chen@nxp.com>
Thu, 22 Dec 2016 03:19:03 +0000
(11:19 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:58:19 +0000
(14:58 -0500)
For imx7ulp, the power of USB controller may be lost, add power_lost_check
API for USB recovery.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/usbmisc_imx.c
patch
|
blob
|
history
diff --git
a/drivers/usb/chipidea/usbmisc_imx.c
b/drivers/usb/chipidea/usbmisc_imx.c
index
8cd49cf
..
5af7527
100644
(file)
--- a/
drivers/usb/chipidea/usbmisc_imx.c
+++ b/
drivers/usb/chipidea/usbmisc_imx.c
@@
-958,6
+958,7
@@
static const struct usbmisc_ops imx7d_usbmisc_ops = {
static const struct usbmisc_ops imx7ulp_usbmisc_ops = {
.init = usbmisc_imx7d_init,
.set_wakeup = usbmisc_imx7d_set_wakeup,
+ .power_lost_check = usbmisc_imx7d_power_lost_check,
};
int imx_usbmisc_init(struct imx_usbmisc_data *data)