diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2022-06-20 12:13:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-23 13:07:43 +0100 |
commit | 423cc2d0e8506a0ce6e3ef1806a561de1076e033 (patch) | |
tree | 13c7e3c228c818fcd776699b867a9f598a4f972b /sound | |
parent | 9177203c209d9137dce52c7f0bc28e54960e5a41 (diff) | |
download | linux-423cc2d0e8506a0ce6e3ef1806a561de1076e033.tar.bz2 |
ASoC: Intel: bdw_rt286: 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-15-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/intel/boards/bdw_rt286.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/bdw_rt286.c b/sound/soc/intel/boards/bdw_rt286.c index c5737f548bef..8604b221b60d 100644 --- a/sound/soc/intel/boards/bdw_rt286.c +++ b/sound/soc/intel/boards/bdw_rt286.c @@ -98,7 +98,7 @@ static int codec_link_hw_params(struct snd_pcm_substream *substream, ret = snd_soc_dai_set_sysclk(codec_dai, RT286_SCLK_S_PLL, 24000000, 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; } |