Files
android_kernel_xiaomi_sm8450/drivers/misc
Oded Gabbay 4398e7057d habanalabs: return error when failing to read/write i2c
The driver can't read/write from i2c if the device is in reset or
disabled. Therefore, return -EBUSY in those cases instead of 0.

This change also fixes a smatch warning about uninitialized variable.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-26 11:35:03 +01:00
..
2017-11-15 18:21:04 -08:00
2018-08-21 23:54:18 -04:00
2019-02-11 09:05:58 +01:00
2017-08-28 16:55:48 +02:00
2018-09-25 20:21:02 +02:00
2019-02-18 09:46:43 +01:00
2018-04-23 13:31:27 +02:00