Skip to content
Snippets Groups Projects
Commit 2903a2f2 authored by Chen Ni's avatar Chen Ni Committed by Jonathan Cameron
Browse files

iio: dac: ti-dac7311: 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>
Link: https://patch.msgid.link/20240705084250.3006527-1-nichen@iscas.ac.cn


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 2956979d
No related branches found
No related tags found
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