Nikita Yushchenko
e187c0c910
iio: hi8435: cleanup reset gpio
...
[ Upstream commit 61305664a5 ]
Reset GPIO is active low.
Currently driver uses gpiod_set_value(1) to clean reset, which depends
on device tree to contain GPIO_ACTIVE_HIGH - that does not match reality.
This fixes driver to use _raw version of gpiod_set_value() to enforce
active-low semantics despite of what's written in device tree. Allowing
device tree to override that only opens possibility for errors and does
not add any value.
Additionally, use _cansleep version to make things work with i2c-gpio
and other sleeping gpio drivers.
Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com >
Signed-off-by: Jonathan Cameron <jic23@kernel.org >
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-04-13 19:48:02 +02:00
..
2018-03-28 18:39:22 +02:00
2018-02-28 10:18:33 +01:00
2018-04-13 19:47:58 +02:00
2017-12-14 09:28:24 +01:00
2018-02-13 12:35:55 +01:00
2018-01-31 12:55:51 +01:00
2017-03-12 06:41:52 +01:00
2018-04-08 12:13:01 +02:00
2018-03-28 18:39:20 +02:00
2018-04-13 19:47:56 +02:00
2018-04-13 19:47:52 +02:00
2018-04-13 19:47:57 +02:00
2018-02-17 13:21:20 +01:00
2018-03-24 11:00:10 +01:00
2017-12-25 14:23:46 +01:00
2018-02-25 11:05:56 +01:00
2018-02-28 10:18:33 +01:00
2018-02-22 15:43:52 +01:00
2018-03-24 11:00:26 +01:00
2017-12-09 22:01:56 +01:00
2018-03-22 09:17:48 +01:00
2017-11-21 09:23:21 +01:00
2016-11-03 14:46:39 +01:00
2017-12-20 10:07:26 +01:00
2018-03-24 11:00:17 +01:00
2018-03-28 18:39:22 +02:00
2018-04-08 12:12:46 +02:00
2018-03-24 11:00:12 +01:00
2018-01-17 09:38:59 +01:00
2018-03-22 09:17:43 +01:00
2018-03-24 11:00:25 +01:00
2018-04-13 19:47:57 +02:00
2018-02-25 11:05:55 +01:00
2018-04-13 19:48:02 +02:00
2018-04-13 19:47:51 +02:00
2018-04-13 19:47:55 +02:00
2018-03-24 11:00:25 +01:00
2016-10-27 18:43:43 -07:00
2018-04-13 19:47:55 +02:00
2018-02-25 11:05:55 +01:00
2018-03-24 11:00:08 +01:00
2016-10-07 14:42:05 -07:00
2016-09-20 20:57:12 +10:00
2017-08-06 18:59:42 -07:00
2017-09-09 17:39:41 +02:00
2018-04-13 19:47:49 +02:00
2018-04-13 19:47:59 +02:00
2017-12-14 09:28:16 +01:00
2016-10-17 15:43:05 +02:00
2018-03-24 11:00:16 +01:00
2018-04-13 19:47:53 +02:00
2018-03-28 18:39:19 +02:00
2018-04-13 19:47:52 +02:00
2018-04-13 19:48:01 +02:00
2018-03-22 09:17:46 +01:00
2017-08-30 10:21:55 +02:00
2018-03-28 18:39:22 +02:00
2018-03-03 10:23:20 +01:00
2017-08-06 18:59:48 -07:00
2018-03-22 09:17:41 +01:00
2016-10-10 20:16:43 -07:00
2017-12-29 17:42:59 +01:00
2018-04-08 12:12:57 +02:00
2018-04-08 12:12:43 +02:00
2016-11-11 08:45:08 -08:00
2018-03-22 09:17:51 +01:00
2018-01-23 19:57:07 +01:00
2018-03-24 11:00:25 +01:00
2018-03-24 11:00:24 +01:00
2018-03-24 11:00:20 +01:00
2018-04-13 19:47:56 +02:00
2016-10-11 15:06:32 -07:00
2016-09-20 20:57:12 +10:00
2018-03-24 11:00:09 +01:00
2018-03-22 09:17:55 +01:00
2017-12-14 09:28:22 +01:00
2018-03-24 11:00:09 +01:00
2017-03-12 06:41:50 +01:00
2017-10-08 10:26:03 +02:00
2017-01-26 08:24:44 +01:00
2018-04-13 19:47:50 +02:00
2018-03-31 18:11:35 +02:00
2018-04-13 19:48:01 +02:00
2018-03-31 18:11:35 +02:00
2018-04-08 12:13:01 +02:00
2017-07-27 15:08:08 -07:00
2017-01-09 08:32:16 +01:00
2018-04-13 19:47:56 +02:00
2018-03-24 11:00:20 +01:00
2018-02-25 11:05:52 +01:00
2018-04-13 19:48:00 +02:00
2018-04-13 19:47:59 +02:00
2018-04-13 19:48:00 +02:00
2017-10-12 11:51:19 +02:00
2018-03-22 09:17:51 +01:00
2018-02-25 11:05:39 +01:00
2018-03-24 11:00:25 +01:00
2016-10-19 08:11:43 -07:00
2018-03-18 11:18:50 +01:00
2017-03-12 06:41:50 +01:00
2017-03-12 06:41:48 +01:00
2018-03-28 18:39:22 +02:00
2018-03-03 10:23:28 +01:00
2018-02-25 11:05:45 +01:00