codec_dai -> cpu_dai Signed-off-by: lsh <lshua312@xxxxxxx> --- 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 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel