diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2022-06-20 12:13:52 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-23 14:07:35 +0200 |
commit | 6c65908251edc637b53bdeb9e79d918a8d081183 (patch) | |
tree | 2120ee7d0b395740e048ff8bd3d0518ce38c1a8a /sound/soc/intel | |
parent | ASoC: Intel: hsw_rt5640: Improve probe() function quality (diff) | |
download | linux-6c65908251edc637b53bdeb9e79d918a8d081183.tar.xz linux-6c65908251edc637b53bdeb9e79d918a8d081183.zip |
ASoC: Intel: hsw_rt5640: Improve hw_params() debug-ability
Print status if setting sysclk fails.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220620101402.2684366-8-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r-- | sound/soc/intel/boards/hsw_rt5640.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/hsw_rt5640.c b/sound/soc/intel/boards/hsw_rt5640.c index 273c8e274d25..ad747363d112 100644 --- a/sound/soc/intel/boards/hsw_rt5640.c +++ b/sound/soc/intel/boards/hsw_rt5640.c @@ -53,7 +53,7 @@ static int codec_link_hw_params(struct snd_pcm_substream *substream, ret = snd_soc_dai_set_sysclk(codec_dai, RT5640_SCLK_S_MCLK, 12288000, SND_SOC_CLOCK_IN); if (ret < 0) { - dev_err(rtd->dev, "can't set codec sysclk configuration\n"); + dev_err(rtd->dev, "set codec sysclk failed: %d\n", ret); return ret; } |