diff options
author | Brandon Maier <brandon.maier@rockwellcollins.com> | 2019-02-07 22:50:36 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-02-18 23:23:29 +0100 |
commit | 45034e48276c310bf4d4c7d7110169756d4a6265 (patch) | |
tree | 8a9f3b8d8434b6c39b61a9b585a3f9da0bd39b24 /drivers/rpmsg | |
parent | hwmon: (lm85) add support for LM96000 high frequencies (diff) | |
download | linux-45034e48276c310bf4d4c7d7110169756d4a6265.tar.xz linux-45034e48276c310bf4d4c7d7110169756d4a6265.zip |
hwmon: (ad7418) Catch I2C errors
If there is an i2c failure, the ad7416 reports its temperature as 0C.
Return an error code so users can properly detect errors.
Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions