]> 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)
commit8013c9578877c15d35c5ff275ddc8a81c9ed0b92
treec04cf33aa56e0a35018ebe3a7d085284ae0ffd3b
parent6f3cffa1d211e32917db3068b68cd0faff408039
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: 024d060c37dd ("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