Commit 42a23db4 authored by Guan-Yu Lin's avatar Guan-Yu Lin Committed by Treehugger Robot
Browse files

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: default avatarGuan-Yu Lin <guanyulin@google.com>
parent 78c3f3bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment