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

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

usb_bam_data: Cleanup USB requests and allocated data buffers



On USB Cable disconnect, it is required to free USB requests and related
USB data buffers (SKBs). This change takes freeing USB requests (both
IN and OUT) and used data buffers with it. This fixes memory leak issues
on USB cable PO/PI case.

Also add few counters for track number of SKBs and requests being used
in SYS2BAM path.

CRs-Fixed: 703606
Change-Id: Id1b22de1b776209d48c66a9625fda2c2768ad7f0
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent d8da71c1
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