]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: Intel: sof-rt5682: add a check for devm_clk_get
authorChuhong Yuan <hslester96@gmail.com>
Thu, 17 Oct 2019 02:50:44 +0000 (10:50 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 18 Oct 2019 17:08:54 +0000 (18:08 +0100)
commite5f0d490fb718254a884453e47fcd48493cd67ea
tree059d4f3c93b13056b21de1c5f970d0045f20328a
parent22e58665a01006d05f0239621f7d41cacca96cc4
ASoC: Intel: sof-rt5682: add a check for devm_clk_get

sof_audio_probe misses a check for devm_clk_get and may cause problems.
Add a check for it to fix the bug.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191017025044.31474-1-hslester96@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_rt5682.c