aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIrina Tirdea <[email protected]>2015-04-13 18:40:54 +0300
committerJonathan Cameron <[email protected]>2015-04-26 19:46:39 +0100
commit1d052931c689d14397d05ac705cf386955bcf813 (patch)
tree8662c1298ede068b0b99e8d31ce1491fccce16f9 /tools/perf/scripts/python
parent476c41a73eee708101495d2202c82060d0fc787d (diff)
iio: accel: mma9553: check for error in reading initial activity and stepcnt
When configuring gpio, we need to read initial values for activity and step count. This function may fail due to i2c read errors. Check the error code returned by mma9553_read_activity_stepcnt and return the appropriate error in gpio config function. Signed-off-by: Irina Tirdea <[email protected]> Reported-by: Hartmut Knaack <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions