diff options
| author | Angelo Compagnucci <[email protected]> | 2017-06-28 23:53:10 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-07-02 10:24:52 +0100 |
| commit | 6be72b9067d443a44065541853edfb92ffca0401 (patch) | |
| tree | 3106e588b9b390f3f7b48d0c2e94c3de14ae968c /tools/perf/scripts/python/syscall-counts.py | |
| parent | e3169994f6563f7e80a357ea68d5e9b040cb126c (diff) | |
iio: adc: mcp3422: Checking for error on probe
Some part of the configuration are not touched after the probe
and if something goes wrong on writing the initial one,
the chip will misbehave.
Adding an error checking ensures that the inital configuration will
be written correctly. Moreover ensures that a sensible configuration
will be saved in driver data and used subsequently as intended.
Signed-off-by: Angelo Compagnucci <[email protected]>
Reported-by: Maarten Brock <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions