aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMichael Hennerich <[email protected]>2015-10-13 18:15:37 +0200
committerJonathan Cameron <[email protected]>2015-10-25 12:29:31 +0000
commit03fe472ef33b7f31fbd11d300dbb3fdab9c00fd4 (patch)
treec1054df232fb8142c751036f71abd323616db9df /tools/perf/scripts/python/bin/export-to-postgresql-report
parent01bb70ae0b98d266fa3e860482c7ce22fa482a6e (diff)
iio:ad5064: Make sure ad5064_i2c_write() returns 0 on success
i2c_master_send() returns the number of bytes transferred on success while the ad5064 driver expects that the write() callback returns 0 on success. Fix that by translating any non negative return value of i2c_master_send() to 0. Fixes: commit 6a17a0768f77 ("iio:dac:ad5064: Add support for the ad5629r and ad5669r") Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Lars-Peter Clausen <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions