[PATCH] soundwire: amd: change the log level for command response log

Vijendar Mukunda posted 1 patch 10 months ago
drivers/soundwire/amd_manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] soundwire: amd: change the log level for command response log
Posted by Vijendar Mukunda 10 months ago
Change log level for command response log to dev_dbg_ratelimited when
command is ignored.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
---
 drivers/soundwire/amd_manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soundwire/amd_manager.c b/drivers/soundwire/amd_manager.c
index dcf85f94950a..a12c68b93b1c 100644
--- a/drivers/soundwire/amd_manager.c
+++ b/drivers/soundwire/amd_manager.c
@@ -346,7 +346,7 @@ static enum sdw_command_response amd_sdw_fill_msg_resp(struct amd_sdw_manager *a
 					    msg->dev_num);
 			return SDW_CMD_FAIL;
 		}
-		dev_err_ratelimited(amd_manager->dev, "command is ignored for Slave %d\n",
+		dev_dbg_ratelimited(amd_manager->dev, "command is ignored for Slave %d\n",
 				    msg->dev_num);
 		return SDW_CMD_IGNORED;
 	}
-- 
2.34.1
Re: [PATCH] soundwire: amd: change the log level for command response log
Posted by Vinod Koul 9 months, 3 weeks ago
On Tue, 18 Feb 2025 12:29:24 +0530, Vijendar Mukunda wrote:
> Change log level for command response log to dev_dbg_ratelimited when
> command is ignored.
> 
> 

Applied, thanks!

[1/1] soundwire: amd: change the log level for command response log
      commit: be2f35e15939836d0e0115e99d8cd7a49b89cc8f

Best regards,
-- 
~Vinod
Re: [PATCH] soundwire: amd: change the log level for command response log
Posted by Mario Limonciello 10 months ago
On 2/18/2025 00:59, Vijendar Mukunda wrote:
> Change log level for command response log to dev_dbg_ratelimited when
> command is ignored.
> 
> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
> ---
>   drivers/soundwire/amd_manager.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/soundwire/amd_manager.c b/drivers/soundwire/amd_manager.c
> index dcf85f94950a..a12c68b93b1c 100644
> --- a/drivers/soundwire/amd_manager.c
> +++ b/drivers/soundwire/amd_manager.c
> @@ -346,7 +346,7 @@ static enum sdw_command_response amd_sdw_fill_msg_resp(struct amd_sdw_manager *a
>   					    msg->dev_num);
>   			return SDW_CMD_FAIL;
>   		}
> -		dev_err_ratelimited(amd_manager->dev, "command is ignored for Slave %d\n",
> +		dev_dbg_ratelimited(amd_manager->dev, "command is ignored for Slave %d\n",
>   				    msg->dev_num);
>   		return SDW_CMD_IGNORED;
>   	}