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

Skip to content
Commit 3ffa1531 authored by Yuanfang Zhang's avatar Yuanfang Zhang
Browse files

coresight: tmc-etr: fix etr enable issue



Only usb_bam mode requires the bam related operation in function
_tmc_disable_etr_sink(), so adding a judgment to ensure this.

Need to wait for usb_read_work_fn() to complete, then drvdata->usb
can be assigned to NULL.

Change-Id: Ieb9a5ffb89be70cc3b14487c78a43b7aa31e90ec
Signed-off-by: default avatarYuanfang Zhang <zhangyuanfang@codeaurora.org>
parent 82e0a0f5
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