commit | 45034e48276c310bf4d4c7d7110169756d4a6265 | [log] [tgz] |
---|---|---|
author | Brandon Maier <brandon.maier@rockwellcollins.com> | Thu Feb 07 15:50:36 2019 -0600 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Feb 18 14:23:29 2019 -0800 |
tree | 8a9f3b8d8434b6c39b61a9b585a3f9da0bd39b24 | |
parent | e9b95485c12c31e07dbb1694e794f18565144099 [diff] |
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>