projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8308a09
)
ASoC: tas2562: Fix sample rate error message
author
Dan Murphy
<dmurphy@ti.com>
Wed, 26 Feb 2020 13:03:05 +0000
(07:03 -0600)
committer
Mark Brown
<broonie@kernel.org>
Wed, 26 Feb 2020 16:28:20 +0000
(16:28 +0000)
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>
sound/soc/codecs/tas2562.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tas2562.c
b/sound/soc/codecs/tas2562.c
index
5b4803a
..
be52886
100644
(file)
--- 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;
}