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

Skip to content
Commit dc4be765 authored by Amit Blay's avatar Amit Blay Committed by Stephen Boyd
Browse files

usb: usb_bam: Prevent double access to finish suspend



This commit fixes a crash in disconnect cable, caused by
race condition of consumer release and suspend sequence.
Due to race condition the finish suspend function was entered
twice and was causing unclocked access.

Change-Id: I435a5c03b3fc63b5775ad94cece7097707b1c687
Signed-off-by: default avatarLena Salman <esalman@codeaurora.org>
Signed-off-by: default avatarAmit Blay <ablay@codeaurora.org>
parent afe0588e
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