aboutsummaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorDragos Bogdan <dragos.bogdan@analog.com>2017-09-05 15:16:13 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-09-24 16:58:29 +0100
commit7ee3b7ebcb74714df6d94c8f500f307e1ee5dda5 (patch)
tree94a5502938ee4fae2271991d3fb337d6a21f0d36 /certs
parent7fc10de8d49a748c476532c9d8e8fe19e548dd67 (diff)
downloadlinux-7ee3b7ebcb74714df6d94c8f500f307e1ee5dda5.tar.gz
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 <dragos.bogdan@analog.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions