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

Skip to content
Commit 077bb02a authored by Manu Gautam's avatar Manu Gautam
Browse files

usb_bam: Fix usb bam_type assignment during suspend



Driver incorrectly uses bam_mode (device/host) as bam_type
(dwc3/CI). This logic will work as long as bus-suspend
happens for dwc3 in device mode with BAM function but will
fail with CI core in device mode. However host mode BAM
pipes are no longer supported. Fix this by using proper
variable for bam_type instead of cur_bam_mode.

Change-Id: Id3b2bf3e578b5c339c46c940645b439dfafd28fb
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 9478cceb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment