Skip to contentSkip to conversation

soundwire:repeated word: 'state'.

PATCH Pierre-Louis Bossart 1 participant 1 message Jul 20, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 12 lines · Xin Gao

repeated word: 'state'.

---
 drivers/soundwire/stream.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soundwire/stream.c +0 -0
index d34150559142..f0312b99e3de 100644

drivers/soundwire/stream.c int sdw_prepare_stream(struct sdw_stream_runtime *stream) · line 1430

Quoted 8 lines
drivers/soundwire/stream.c +1 -1
@@ -1424,7 +1424,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;

There are other occurrences of this repetition, you may want to correct them all in the same patch?

stream.c:1444: pr_err("%s: %s: inconsistent state state %d\n",

stream.c:1533: pr_err("%s: %s: inconsistent state state %d\n",

stream.c:1620: pr_err("%s: %s: inconsistent state state %d\n",

stream.c:1701: pr_err("%s: %s: inconsistent state state %d\n",