[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1548858815-20161-1-git-send-email-lshua312@163.com>
Date: Wed, 30 Jan 2019 22:33:35 +0800
From: lsh <lshua312@....com>
To: lgirdwood@...il.com
Cc: broonie@...nel.org, perex@...ex.cz, tiwai@...e.com,
heiko@...ech.de, alsa-devel@...a-project.org,
linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
lsh <lshua312@....com>
Subject: [PATCH] ASoC: rockchip: fix small typo
codec_dai -> cpu_dai
Signed-off-by: lsh <lshua312@....com>
---
sound/soc/rockchip/rockchip_rt5645.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
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;
}
--
1.9.1
Powered by blists - more mailing lists