aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKangjie Lu <[email protected]>2018-12-20 01:21:22 -0600
committerJonathan Cameron <[email protected]>2019-01-05 16:10:50 +0000
commitae0b3773721f08526c850e2d8dec85bdb870cd12 (patch)
tree1b0925b73f1cf2582567206bd5d648a4ab0f205f /tools/perf/scripts/python
parentc546d49656143855093c7b7fde60866e6e23a69d (diff)
iio: ad9523: fix a missing check of return value
If ad9523_write() fails, indio_dev may get incorrect data. The fix inserts a check for the return value of ad9523_write(), and it fails, returns an error. Signed-off-by: Kangjie Lu <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions