]> git.baikalelectronics.ru Git - 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)
commite89f5439c16902c4a8b8d0f52395b5c6acaf1c04
tree059d4f3c93b13056b21de1c5f970d0045f20328a
parent490152370ead8250126262a0b54e12e52a546f3a
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