iio: adis: set GPIO reset pin direction
authorAntti Keränen <detegr@rbx.email>
Thu, 8 Jul 2021 09:54:29 +0000 (12:54 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 17 Jul 2021 17:41:04 +0000 (18:41 +0100)
commit7e77ef8b8d600cf8448a2bbd32f682c28884551f
treefe91999a8e393f58a45c5011d8d629bfeb831264
parent9898cb24e454602beb6e17bacf9f97b26c85c955
iio: adis: set GPIO reset pin direction

Set reset pin direction to output as the reset pin needs to be an active
low output pin.

Co-developed-by: Hannu Hartikainen <hannu@hrtk.in>
Signed-off-by: Hannu Hartikainen <hannu@hrtk.in>
Signed-off-by: Antti Keränen <detegr@rbx.email>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Fixes: ecb010d44108 ("iio: imu: adis: Refactor adis_initial_startup")
Link: https://lore.kernel.org/r/20210708095425.13295-1-detegr@rbx.email
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis.c