summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2023-03-01 12:38:02 +0100
committerMark Brown <broonie@kernel.org>2023-03-06 00:37:43 +0100
commit2d8dad4dc4d4a12afa3c31e72b60727d4c133b99 (patch)
tree12b88acc99406b1e667eee8f840eac29e5eb7d34 /sound
parentASoC: mchp-spdiftx: use regmap_update_bits() (diff)
downloadlinux-2d8dad4dc4d4a12afa3c31e72b60727d4c133b99.tar.xz
linux-2d8dad4dc4d4a12afa3c31e72b60727d4c133b99.zip
ASoC: mchp-spdiftx: update debug message
Previous debug message states that there was a failure and tx was not disabled. Which is not true as the TX in this function could also be enabled. Thus improve a bit the debug message by s/disable/start\/stop/. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230301113807.24036-4-claudiu.beznea@microchip.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/atmel/mchp-spdiftx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/mchp-spdiftx.c b/sound/soc/atmel/mchp-spdiftx.c
index e7241d819748..02a2fa7a42dd 100644
--- a/sound/soc/atmel/mchp-spdiftx.c
+++ b/sound/soc/atmel/mchp-spdiftx.c
@@ -337,7 +337,7 @@ static int mchp_spdiftx_trigger(struct snd_pcm_substream *substream, int cmd,
}
spin_unlock(&ctrl->lock);
if (ret)
- dev_err(dev->dev, "unable to disable TX: %d\n", ret);
+ dev_err(dev->dev, "unable to start/stop TX: %d\n", ret);
return ret;
}