]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: boards: sof-wm8804: add check for PLL setting
authorColin Ian King <colin.king@canonical.com>
Fri, 26 Feb 2021 18:56:53 +0000 (18:56 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 13:07:18 +0000 (13:07 +0000)
commit7256a182da35fedbb889a221afd9adc2b3aa2fe0
treec04cf33aa56e0a35018ebe3a7d085284ae0ffd3b
parentbfaab23ab2c0659dba7780f1f7e2b600457adbaa
ASoC: Intel: boards: sof-wm8804: add check for PLL setting

Currently the return from snd_soc_dai_set_pll is not checking for
failure, this is the only driver in the kernel that ignores this,
so it probably should be added for sake of completeness.  Fix this
by adding an error return check.

Addresses-Coverity: ("Unchecked return value")
Fixes: 2a3766125cdf ("ASoC: Intel: boards: sof-wm8804: support for Hifiberry Digiplus boards")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210226185653.1071321-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_wm8804.c