Skip to content
Commit fea88a13 authored by Chen Ni's avatar Chen Ni Committed by Lee Jones
Browse files

backlight: l4f00242t03: Add check for spi_setup



Add check for the return value of spi_setup() and return the error
if it fails in order to catch the error.

Signed-off-by: default avatarChen Ni <nichen@iscas.ac.cn>
Reviewed-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240705092800.3221159-1-nichen@iscas.ac.cn


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 8400291e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment