diff options
| author | Aditya Pakki <[email protected]> | 2018-12-27 13:54:52 -0600 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-01-05 16:44:02 +0000 |
| commit | 7fc93f3285b17f4632694efce5ff0160303388a8 (patch) | |
| tree | fc34f22be0fa8614ef88cd758a2b84903890663e /tools/perf/scripts/python/bin | |
| parent | b002bf5f8dbca8465b1dadb283154e844c61d73f (diff) | |
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 <[email protected]>
Reviewed-by: Michal Simek <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions