Commit e01107e
drivers: haptics: drv2605 fix unchecked return value
return -EIO if i2c_read does not work as expected.
Signed-off-by: Jilay Pandya <[email protected]>1 parent a0eb112 commit e01107e
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
501 | | - | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
502 | 508 | | |
503 | 509 | | |
504 | 510 | | |
505 | 511 | | |
506 | 512 | | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | 513 | | |
512 | 514 | | |
513 | 515 | | |
| |||
0 commit comments