commit | b05ae01fdb8966afff5b153e7a7ee24684745e2d | [log] [tgz] |
---|---|---|
author | Aditya Pakki <pakki001@umn.edu> | Mon Dec 24 11:31:13 2018 -0600 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 18 16:34:06 2019 +0100 |
tree | 0a112aa7bf0a5255e37488886cfb4717c96afe85 | |
parent | 068ad41ec565357f4c37e52d4026c896bdeaec56 [diff] |
misc/ics932s401: Add a missing check to i2c_smbus_read_word_data ics932s401_update_device may fail reading in i2c_smbus_read_word_data due to error in i2c_smbus_xfer. The fix checks the status and defaults the register to 0. Signed-off-by: Aditya Pakki <pakki001@umn.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>