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

Skip to content
Commit 01fc4ad8 authored by Yadu MG's avatar Yadu MG
Browse files

coresight: tmc: Verify Coresight TMC device before accessing it



reset_source_sink_store can race with tmc_open/release call. In
such cases, reset_source_sink_store will disable the sink in its
path and tmc_open/release try to access it in the disabled state.
Avoid this by verifying the corresponding coresight device state.

Change-Id: I9e8aa0171af14762ed10ca30a80b43f4132e847d
Signed-off-by: default avatarYadu MG <ymg@codeaurora.org>
parent 06d683cc
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