Re: [PATCH v1 RESEND] Coresight: Set correct cs_mode for dummy source to fix disable issue
From: Suzuki K Poulose
Date: Mon Aug 19 2024 - 11:41:25 EST
On Mon, 12 Aug 2024 12:28:44 +0800, Jie Gan wrote:
> The coresight_disable_source_sysfs function should verify the
> mode of the coresight device before disabling the source.
> However, the mode for the dummy source device is always set to
> CS_MODE_DISABLED, resulting in the check consistently failing.
> As a result, dummy source cannot be properly disabled.
>
> Configure CS_MODE_SYSFS/CS_MODE_PERF during the enablement.
> Configure CS_MODE_DISABLED during the disablement.
>
> [...]
Applied, thanks!
[1/1] Coresight: Set correct cs_mode for dummy source to fix disable issue
https://git.kernel.org/coresight/c/e6b64cda393efd84709ab3df2e42d36d36d7553e
Best regards,
--
Suzuki K Poulose <suzuki.poulose@xxxxxxx>