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

Skip to content
Commit 1ea92140 authored by Danny Segal's avatar Danny Segal
Browse files

platform: msm: Clear BAM pipe pointer after USB disconnect



When the USB port is disocnnected from the host, all the BAM pipes are
closed and pipe data structure is freed. However, the pointer to this
structure has remained with a stale value. This has led to crashes after
re-connection since this pointer has been referenced again. Setting the
pointer value to NULL resolves this since there are NULL value checks
before this pointer is accessed.

CRs-fixed: 576789
Change-Id: I71db45d795f813b1f65af37756b9fe570b9b93d0
Signed-off-by: default avatarDanny Segal <dsegal@codeaurora.org>
parent 22ed503c
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