diff options
author | Mao Jinlong <quic_jinlmao@quicinc.com> | 2025-05-06 23:37:16 -0700 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2025-05-14 11:56:17 +0100 |
commit | d23bc38e8aa4efbd617bf660bb1a25fee9f6c177 (patch) | |
tree | c190b414d678bd5fbea95f7e55675f88a01e6829 /scripts/lib/kdoc/kdoc_re.py | |
parent | 5161890f13623175924376bc423edb63d9cb28b5 (diff) |
coresight: tmc: fix failure to disable/enable ETF after reading
ETF may fail to re-enable after reading, and driver->reading will
not be set to false, this will cause failure to enable/disable to ETF.
This change set driver->reading to false even if re-enabling fail.
Fixes: 669c4614236a ("coresight: tmc: Don't enable TMC when it's not ready.")
Co-developed-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
[ Added a comment to explain why we ignore the error ]
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250507063716.1945213-1-quic_jinlmao@quicinc.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions