mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
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>
This commit is contained in:
parent
1d4d3198cc
commit
1f26ff6aab
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user