aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBijosh Thykkoottathil <[email protected]>2016-07-04 10:08:53 +0000
committerJonathan Cameron <[email protected]>2016-07-05 21:03:40 +0100
commit1a965d405fc6f6b1e3454baad7001fed91c9c458 (patch)
tree424e4da80d90e8f2d6d3e6efd2759ea4309d7b59 /tools/perf/scripts/python/export-to-postgresql.py
parent21d41655f5dde155caa2e5c004ac45bb76291449 (diff)
drivers:iio:accel:mma8452: added cleanup provision in case of failure.
mma8452_set_freefall_mode can return -ve value in case if i2c_smbus_read_byte_data fails. This function is called from mma8452_probe, and returning -ve value from probe indicates probe failure. Need to call iio_triggered_buffer_cleanup & iio_trigger_cleanup in this case. Signed-off-by: Bijosh Thykkoottathil <[email protected]> Acked-by: Martin Kepplinger <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions