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

Commit 2913747e authored by Tarun Gupta's avatar Tarun Gupta
Browse files

usb: gadget: u_bam: do runtime_put even if BAM channel was not opened



gbam_disconnect_work returns without doing a put, in the case where
bam channel was not opened successfully. This leads to a runtime
mismatch and USB not entering LPM again. Fix this by making sure that
we do runtime_put in above mentioned case.

Change-Id: Ic05f0ddf7ede3ad680726b9360a5d26ebf35772a
Signed-off-by: default avatarTarun Gupta <tarung@codeaurora.org>
parent 925f5828
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