diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2024-05-15 16:40:28 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-27 01:33:39 +0100 |
commit | ef901b38d3a4610c4067cd306c1a209f32e7ca31 (patch) | |
tree | 111eaf4ade26b38c7018b6b724e9305534e25251 /drivers/dma-buf | |
parent | 61cabbd5ef7625fe5ece4aa16ccc21c91bc2fc8f (diff) | |
download | lwn-ef901b38d3a4610c4067cd306c1a209f32e7ca31.tar.gz lwn-ef901b38d3a4610c4067cd306c1a209f32e7ca31.zip |
spi: atmel-quadspi: Add missing check for clk_prepare
Add check for the return value of clk_prepare() and return the error if
it fails in order to catch the error.
Fixes: 4a2f83b7f780 ("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>
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions