diff options
| author | Brian Masney <[email protected]> | 2016-10-28 06:00:13 -0400 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-11-01 18:50:04 +0000 |
| commit | 9d5f36d2419e488dfa6ba38e4cfc1e90f65a4cff (patch) | |
| tree | e5d9f37b32e36904fde581d18b052e380fc5a86f /tools/perf/scripts/python/bin | |
| parent | a3b6b4b63beda16f3e91fdd942bbaaaf6b1f8b25 (diff) | |
staging: iio: tsl2583: check for error code from i2c_smbus_read_byte()
taos_i2c_read() and taos_als_calibrate() does not check to see if the
value returned by i2c_smbus_read_byte() was an error code. This patch
adds the appropriate error handling.
Signed-off-by: Brian Masney <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions