summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2018-12-27 13:54:52 -0600
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-01-05 16:44:02 +0000
commit7fc93f3285b17f4632694efce5ff0160303388a8 (patch)
treefc34f22be0fa8614ef88cd758a2b84903890663e /tools/perf/scripts/python
parentb002bf5f8dbca8465b1dadb283154e844c61d73f (diff)
downloadlinux-7fc93f3285b17f4632694efce5ff0160303388a8.tar.gz
linux-7fc93f3285b17f4632694efce5ff0160303388a8.zip
iio: adc: xilinx: check return value of xadc_write_adc_reg
In function xadc_probe, xadc_write_adc_reg can return an error value when write fails. The fix checks for the return value consistent with other invocations of the latter function. Signed-off-by: Aditya Pakki <pakki001@umn.edu> Reviewed-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions