mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
spi: atmel-quadspi: Add missing check for clk_prepare
[ Upstream commitef901b38d3] Add check for the return value of clk_prepare() and return the error if it fails in order to catch the error. Fixes:4a2f83b7f7("spi: atmel-quadspi: add runtime pm support") Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Link: https://msgid.link/r/20240515084028.3210406-1-nichen@iscas.ac.cn Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c775eec144
commit
06069d931c
1 changed files with 9 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue