Skip to content
Unverified Commit d6f93d21 authored by Peter Chen's avatar Peter Chen
Browse files

usb: chipidea: imx: get available runtime dr mode for wakeup setting



If runtime dr_mode is not dual-role, it doesn't need to enable ID
wakeup interrupt.
If runtime dr_mode is host, it doesn't need to enable VBUS
wakeup interrupt.
With these changes, the user will not get the unexpected wakeup
for single role use case. For example, the host-only use case at
Micro-AB port, the controller should not be waken up by only
plug in Micro-AB cable or the Micro-B cable with host.
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
parent 62b98258
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment