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

Skip to content
Commit 4f297708 authored by Danny Segal's avatar Danny Segal
Browse files

usb: gadget: Add NULL pointer checking in bam_data_resume_work()



Add NULL pointer checking to beginning of the bam_data_resume_work()
function in order to avoid potential crashes when a suspend or a disconnect
event has happened in prior to the execution of the resume work.

Change-Id: I170d404185de700cbdfe068ff4dbd833ea4d745e
Signed-off-by: default avatarDanny Segal <dsegal@codeaurora.org>
parent e1ce01c5
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