diff options
| author | Chen Ni <[email protected]> | 2024-05-15 08:40:28 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-05-27 00:33:39 +0000 |
| commit | ef901b38d3a4610c4067cd306c1a209f32e7ca31 (patch) | |
| tree | 111eaf4ade26b38c7018b6b724e9305534e25251 /drivers/spi/spi.c | |
| parent | spi: imx: remove empty cleanup function (diff) | |
| download | kernel-ef901b38d3a4610c4067cd306c1a209f32e7ca31.tar.gz kernel-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 <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions
