Skip to content

Commit 38b6a71

Browse files
Dan Murphybroonie
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 8308a09 commit 38b6a71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/tas2562.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ static int tas2562_hw_params(struct snd_pcm_substream *substream,
252252

253253
ret = tas2562_set_samplerate(tas2562, params_rate(params));
254254
if (ret)
255-
dev_err(tas2562->dev, "set bitwidth failed, %d\n", ret);
255+
dev_err(tas2562->dev, "set sample rate failed, %d\n", ret);
256256

257257
return ret;
258258
}

0 commit comments

Comments
 (0)