diff options
| author | Dragos Bogdan <[email protected]> | 2017-09-05 12:16:13 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-09-24 15:58:29 +0000 |
| commit | 7ee3b7ebcb74714df6d94c8f500f307e1ee5dda5 (patch) | |
| tree | 94a5502938ee4fae2271991d3fb337d6a21f0d36 /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | iio: ad_sigma_delta: Implement a dedicated reset function (diff) | |
| download | kernel-7ee3b7ebcb74714df6d94c8f500f307e1ee5dda5.tar.gz kernel-7ee3b7ebcb74714df6d94c8f500f307e1ee5dda5.zip | |
iio: ad7793: Fix the serial interface reset
The serial interface can be reset by writing 32 consecutive 1s to the device.
'ret' was initialized correctly but its value was overwritten when
ad7793_check_platform_data() was called. Since a dedicated reset function
is present now, it should be used instead.
Fixes: 2edb769d246e ("iio:ad7793: Add support for the ad7798 and ad7799")
Signed-off-by: Dragos Bogdan <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
