summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2020-02-26 14:03:05 +0100
committerMark Brown <broonie@kernel.org>2020-02-26 17:28:20 +0100
commit38b6a714941a285319734b9ccc30d34e107d5d7e (patch)
treea75524b7de290d660d86c0e667f5171bf8da45a5 /sound
parentASoC: Intel: Skylake: Fix available clock counter incrementation (diff)
downloadlinux-38b6a714941a285319734b9ccc30d34e107d5d7e.tar.xz
linux-38b6a714941a285319734b9ccc30d34e107d5d7e.zip
ASoC: tas2562: Fix sample rate error message
Fix error message for setting the sample rate. It says bitwidth but should say sample rate. Signed-off-by: Dan Murphy <dmurphy@ti.com> Link: https://lore.kernel.org/r/20200226130305.12043-3-dmurphy@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/tas2562.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas2562.c
index 5b4803a76719..be52886a5edb 100644
--- a/sound/soc/codecs/tas2562.c
+++ b/sound/soc/codecs/tas2562.c
@@ -252,7 +252,7 @@ static int tas2562_hw_params(struct snd_pcm_substream *substream,
ret = tas2562_set_samplerate(tas2562, params_rate(params));
if (ret)
- dev_err(tas2562->dev, "set bitwidth failed, %d\n", ret);
+ dev_err(tas2562->dev, "set sample rate failed, %d\n", ret);
return ret;
}