diff options
author | Frank Li <frank.li@nxp.com> | 2021-02-18 16:51:08 -0600 |
---|---|---|
committer | Peter Chen <peter.chen@kernel.org> | 2021-04-12 20:19:20 +0800 |
commit | 2cf2581cd2290ccef674f1be5f7977d66702eedb (patch) | |
tree | fa20b3bab591e194ba2eb4e372b03cf3145d6568 /drivers/usb/cdns3/drd.h | |
parent | 14d34d2dbbe2d9144a65bae1549202d1717062e2 (diff) |
usb: cdns3: add power lost support for system resume
If the controller lost its power during the system suspend, we need
to do all initialiation operations.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Frank Li <frank.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/drd.h')
-rw-r--r-- | drivers/usb/cdns3/drd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/cdns3/drd.h b/drivers/usb/cdns3/drd.h index 9724acdecbbb..cbdf94f73ed9 100644 --- a/drivers/usb/cdns3/drd.h +++ b/drivers/usb/cdns3/drd.h @@ -215,5 +215,5 @@ int cdns_drd_gadget_on(struct cdns *cdns); void cdns_drd_gadget_off(struct cdns *cdns); int cdns_drd_host_on(struct cdns *cdns); void cdns_drd_host_off(struct cdns *cdns); - +bool cdns_power_is_lost(struct cdns *cdns); #endif /* __LINUX_CDNS3_DRD */ |