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>
This commit is contained in:
parent
8308a09e87
commit
38b6a71494
@ -252,7 +252,7 @@ static int tas2562_hw_params(struct snd_pcm_substream *substream,
|
|||||||
|
|
||||||
ret = tas2562_set_samplerate(tas2562, params_rate(params));
|
ret = tas2562_set_samplerate(tas2562, params_rate(params));
|
||||||
if (ret)
|
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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user