ASoC: rockchip: fix small typo
diff mbox series

Message ID 1548858815-20161-1-git-send-email-lshua312@163.com
State New
Headers show
Series
  • ASoC: rockchip: fix small typo
Related show

Commit Message

lsh Jan. 30, 2019, 2:33 p.m. UTC
codec_dai -> cpu_dai

Signed-off-by: lsh <lshua312@163.com>
---
 sound/soc/rockchip/rockchip_rt5645.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Patch
diff mbox series

diff --git a/sound/soc/rockchip/rockchip_rt5645.c b/sound/soc/rockchip/rockchip_rt5645.c
index 881c324..f88adf0 100644
--- a/sound/soc/rockchip/rockchip_rt5645.c
+++ b/sound/soc/rockchip/rockchip_rt5645.c
@@ -95,14 +95,16 @@  static int rk_aif1_hw_params(struct snd_pcm_substream *substream,
 	ret = snd_soc_dai_set_sysclk(cpu_dai, 0, mclk,
 				     SND_SOC_CLOCK_OUT);
 	if (ret < 0) {
-		dev_err(codec_dai->dev, "Can't set codec clock %d\n", ret);
+		dev_err(cpu_dai->dev,
+			"Can't set clock for cpu_dai %d\n", ret);
 		return ret;
 	}
 
 	ret = snd_soc_dai_set_sysclk(codec_dai, 0, mclk,
 				     SND_SOC_CLOCK_IN);
 	if (ret < 0) {
-		dev_err(codec_dai->dev, "Can't set codec clock %d\n", ret);
+		dev_err(codec_dai->dev,
+			"Can't set clock for codec_dai %d\n", ret);
 		return ret;
 	}