USB: android: Reinit pm_qos request to avoid vote on all cores
Commit 8e64c400 ("USB: android: Remove PM QOS request during cable disconnect") added pm_qos_request_add/remove on CONNECT and DISCONNECT. PM QOS driver clears request on remove which results in subsequent pm_qos_add request updating latency on all cores. Fix this by re-initializing pm_qos request before every pm_qos add. Change-Id: I0c8063d0f020139c6953c502b83c29bf50a0abef Signed-off-by:Manu Gautam <mgautam@codeaurora.org>
Loading
Please register or sign in to comment