iio: adis: set GPIO reset pin direction
stable inclusion from stable-5.10.60 commit 45de224b1332577f3e7aac60332a7000939c068a bugzilla: 177018 https://gitee.com/openeuler/kernel/issues/I4EAUG Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=45de224b1332577f3e7aac60332a7000939c068a -------------------------------- commit 7e77ef8b upstream. 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: ecb010d4 ("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> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Chen Jun <chenjun102@huawei.com> Acked-by:
Weilong Chen <chenweilong@huawei.com> Signed-off-by:
Chen Jun <chenjun102@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment