mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
If ad9523_write() fails, indio_dev may get incorrect data. The fix inserts a check for the return value of ad9523_write(), and it fails, returns an error. Signed-off-by: Kangjie Lu <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>