2023-05-18 02:28:22

by Bard Liao

[permalink] [raw]
Subject: [PATCH] soundwire: intel_bus_common: update error log

From: Pierre-Louis Bossart <[email protected]>

We use __func__ in all calls of sdw_cdns_check_self_clearing_bits(),
except in one case. Likely an editing miss when the code was
refactored.

Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
---
drivers/soundwire/intel_bus_common.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/soundwire/intel_bus_common.c b/drivers/soundwire/intel_bus_common.c
index be0c93106fc8..e5ac3cc7cb79 100644
--- a/drivers/soundwire/intel_bus_common.c
+++ b/drivers/soundwire/intel_bus_common.c
@@ -182,8 +182,7 @@ int intel_start_bus_after_clock_stop(struct sdw_intel *sdw)
return ret;
}

- sdw_cdns_check_self_clearing_bits(cdns, "intel_resume_runtime no_quirks",
- true, INTEL_MASTER_RESET_ITERATIONS);
+ sdw_cdns_check_self_clearing_bits(cdns, __func__, true, INTEL_MASTER_RESET_ITERATIONS);

return 0;
}
--
2.25.1



2023-05-29 05:21:14

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] soundwire: intel_bus_common: update error log

On 18-05-23, 10:42, Bard Liao wrote:
> From: Pierre-Louis Bossart <[email protected]>
>
> We use __func__ in all calls of sdw_cdns_check_self_clearing_bits(),
> except in one case. Likely an editing miss when the code was
> refactored.

Applied, thanks

--
~Vinod