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

Skip to content
Commit d6b29f91 authored by Mayank Rana's avatar Mayank Rana
Browse files

usb_bam: Update checking for producer and consumer client handler



Current code assumes that IPA producer and consumer client handler
can't be assigned as zero which is not true as zero as index is
valid. Hence check both producer and consumer client handler index
against -1 instead of zero.

This change also debug information about producer and consumer
client handler from usb_bam_disconnect_ipa() API.

Change-Id: I98838f7cba2aa625ee70cdc2a187cfbc822c0b43
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 169417fe
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