Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 02702e79 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: u_data_ipa: Fix pm_runtime_get/put() mismatch



If IPA driver is disabled or IPA driver can fail when tether_bridge_init()
is called as part of connect_work. In this case, as part of connect_work,
results in not decrementing pm_usage counter, which causes USB not
entering low power mode. Fix the issue by decrementing pm_usage counter
in error cases.

Change-Id: I7fdb7a28e3e2da6d4c0b01e69e3551f81d000aa4
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 3a7e7526
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