]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit1730ef62874dbdc53dc2abfa430f09f0b304bafc
treec04cf33aa56e0a35018ebe3a7d085284ae0ffd3b
parentff5687854323533668ec06dd38808bae9a984f68
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: f139546fb7d4 ("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