summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHemanth Selam <hemanth.selam@gmail.com>2026-09-07 11:59:30 +0530
committerVinod Koul <vkoul@kernel.org>2026-09-08 19:16:57 +0530
commit1f26ff6aab686c5da7ef749bd14049d1eb3029e4 (patch)
tree34e61422cca923bb7a03460408fdfe435eddcad2
parent1d4d3198ccce18ec1d58ac41c47e7b2aabba2e94 (diff)
downloadlinux-next-1f26ff6aab686c5da7ef749bd14049d1eb3029e4.tar.gz
linux-next-1f26ff6aab686c5da7ef749bd14049d1eb3029e4.zip
soundwire: fix repeated words in log messages
Drop the words written twice, reported by checkpatch.pl as a possible repeated word. Only the message text changes, no code changes. Assisted-by: Cursor:claude-opus-5 Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20260907062930.18120-1-hemanth.selam@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--drivers/soundwire/stream.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/soundwire/stream.c b/drivers/soundwire/stream.c
index f106a877d7b2..0b00fcdcab2d 100644
--- a/drivers/soundwire/stream.c
+++ b/drivers/soundwire/stream.c
@@ -1571,7 +1571,7 @@ int sdw_prepare_stream(struct sdw_stream_runtime *stream)
if (stream->state != SDW_STREAM_CONFIGURED &&
stream->state != SDW_STREAM_DEPREPARED &&
stream->state != SDW_STREAM_DISABLED) {
- pr_err("%s: %s: inconsistent state state %d\n",
+ pr_err("%s: %s: inconsistent state %d\n",
__func__, stream->name, stream->state);
ret = -EINVAL;
goto state_err;
@@ -1655,7 +1655,7 @@ int sdw_enable_stream(struct sdw_stream_runtime *stream)
if (stream->state != SDW_STREAM_PREPARED &&
stream->state != SDW_STREAM_DISABLED) {
- pr_err("%s: %s: inconsistent state state %d\n",
+ pr_err("%s: %s: inconsistent state %d\n",
__func__, stream->name, stream->state);
ret = -EINVAL;
goto state_err;
@@ -1742,7 +1742,7 @@ int sdw_disable_stream(struct sdw_stream_runtime *stream)
}
if (stream->state != SDW_STREAM_ENABLED) {
- pr_err("%s: %s: inconsistent state state %d\n",
+ pr_err("%s: %s: inconsistent state %d\n",
__func__, stream->name, stream->state);
ret = -EINVAL;
goto state_err;
@@ -1848,7 +1848,7 @@ int sdw_deprepare_stream(struct sdw_stream_runtime *stream)
if (stream->state != SDW_STREAM_PREPARED &&
stream->state != SDW_STREAM_DISABLED) {
- pr_err("%s: %s: inconsistent state state %d\n",
+ pr_err("%s: %s: inconsistent state %d\n",
__func__, stream->name, stream->state);
ret = -EINVAL;
goto state_err;