usb: chipidea: usbmisc: add power lost check for imx7d
authorLi Jun <jun.li@nxp.com>
Thu, 13 Oct 2022 15:14:41 +0000 (23:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Oct 2022 12:34:53 +0000 (14:34 +0200)
commit604ceaa9e9fc223c2cc8d6cf0fc02022a3d14a68
treed8f5088be9cc2d2f4ea1810e7bfec9b9ed3bb288
parent04ff4d31af40e268c6cde78814be465a6412212d
usb: chipidea: usbmisc: add power lost check for imx7d

imx7d can shutdown domain power supply if none of peripheral in this
domain is registered as wakeup source, this patch add related codes to
check if power is lost.

Signed-off-by: Li Jun <jun.li@nxp.com>
Link: https://lore.kernel.org/r/20221013151442.3262951-8-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/usbmisc_imx.c