ANDROID: usb: xhci-plat: vendor hooks for suspend and resume
Add the hook in xhci-plat driver so vendor could design and bypass the
original suspend/resume flow. When the bypass is set, skip the original
suspend/resume methods.
In a system with co-processor presents, USB transactions could be
offloaded to the co-processor, and the main-processor may be able to
sleep in such condition to improve power consumption. Skipping the
required suspend/resume processes so that the USB controller remains
active when the system go to sleep.
Bug: 333606699
Test: playback in sleep, idle suspend works.
Change-Id: Ia13b88cf0aaa294b468515abb0fe3022f7c98664
Signed-off-by:
Guan-Yu Lin <guanyulin@google.com>
Loading
Please sign in to comment