Cosmin Tanislav
e7f744f6f4
iio: adc: ad4130: only set GPIO_CTRL if pin is unused
...
[ Upstream commit 78367c32bebfe833cd30c855755d863a4ff3fdee ]
Currently, GPIO_CTRL bits are set even if the pins are used for
measurements.
GPIO_CTRL bits should only be set if the pin is not used for
other functionality.
Fix this by only setting the GPIO_CTRL bits if the pin has no
other function.
Fixes: 62094060cf3a ("iio: adc: ad4130: add AD4130 driver")
Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240207132007.253768-2-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-23 09:24:58 +01:00
..
2023-07-29 12:13:17 +01:00
2023-05-21 18:54:53 +01:00
2024-02-23 09:24:58 +01:00
2024-01-31 16:18:47 -08:00
2024-01-31 16:18:47 -08:00
2024-01-31 16:18:47 -08:00
2023-07-23 13:38:13 +01:00
2023-10-05 18:06:46 +01:00
2022-06-14 11:53:12 +01:00
2022-06-14 11:53:12 +01:00
2023-05-21 18:54:53 +01:00
2023-04-06 20:36:26 +02:00
2022-06-14 11:53:12 +01:00
2022-11-23 19:44:00 +00:00
2022-11-23 20:41:23 +00:00
2022-02-18 11:42:26 +00:00
2023-03-11 12:18:29 +00:00
2022-11-23 19:44:00 +00:00
2022-06-14 11:53:12 +01:00
2022-08-15 22:30:02 +01:00
2022-02-18 11:42:26 +00:00
2023-02-18 17:06:09 +00:00
2022-02-18 11:42:26 +00:00
2022-06-14 11:53:13 +01:00
2022-09-21 18:42:55 +01:00
2022-07-16 18:50:24 +01:00
2024-01-25 15:35:52 -08:00
2023-05-20 16:34:52 +01:00
2024-01-25 15:35:52 -08:00
2022-11-14 20:20:08 +00:00
2023-07-23 13:38:13 +01:00
2023-04-27 12:07:50 -07:00
2023-03-11 12:18:28 +00:00
2022-11-23 19:43:57 +00:00
2023-07-29 16:23:45 +01:00
2022-12-28 17:20:03 +00:00
2023-07-23 13:38:13 +01:00
2022-02-07 20:40:39 +00:00
2022-12-30 18:05:16 +00:00
2023-10-14 17:47:20 +01:00
2022-06-14 11:53:13 +01:00
2023-07-29 12:13:17 +01:00
2023-10-05 18:06:45 +01:00
2024-01-01 12:42:37 +00:00
2023-08-13 22:14:51 +02:00
2022-08-15 22:30:02 +01:00
2022-06-15 22:07:09 +01:00
2023-07-20 19:21:29 +01:00
2022-08-15 22:30:02 +01:00
2023-07-29 16:23:45 +01:00
2023-05-21 18:54:53 +01:00
2023-05-21 18:54:53 +01:00
2022-09-21 18:42:54 +01:00
2022-11-23 19:43:58 +00:00
2023-05-21 18:54:53 +01:00
2022-11-23 19:43:58 +00:00
2023-07-20 19:21:29 +01:00
2022-07-19 09:30:05 +01:00
2022-06-14 11:53:13 +01:00
2022-11-23 19:44:01 +00:00
2023-05-21 18:54:53 +01:00
2023-05-21 18:54:53 +01:00
2022-06-14 11:53:13 +01:00
2022-09-05 18:08:34 +01:00
2023-04-12 09:45:34 +02:00
2023-06-28 15:18:11 +01:00
2022-06-14 11:53:14 +01:00
2023-05-21 18:54:53 +01:00
2022-11-23 19:43:57 +00:00
2023-08-05 17:43:17 +01:00
2024-01-01 12:42:36 +00:00
2022-11-01 08:48:02 +00:00
2022-08-15 22:30:02 +01:00
2023-05-13 17:54:56 +01:00
2022-07-18 18:48:17 +01:00
2023-05-13 17:54:57 +01:00
2023-05-21 18:54:53 +01:00
2023-07-29 16:23:45 +01:00
2023-07-29 12:13:17 +01:00
2023-03-18 15:44:30 +00:00
2023-07-20 19:21:30 +01:00
2023-07-23 13:38:13 +01:00
2022-07-01 11:19:08 +01:00
2023-05-13 18:28:10 +01:00
2022-05-19 12:11:51 +02:00
2023-03-11 12:22:36 +00:00
2022-01-30 12:21:25 +00:00
2023-07-29 12:13:17 +01:00
2023-05-21 18:54:53 +01:00
2022-07-14 15:04:49 +02:00
2023-07-23 13:38:13 +01:00
2023-07-29 16:23:45 +01:00
2023-11-28 17:19:45 +00:00
2022-11-23 20:56:13 +00:00
2023-06-15 13:01:55 +02:00
2023-07-23 13:38:13 +01:00
2023-07-23 13:38:13 +01:00
2023-01-08 13:11:03 +00:00
2023-07-23 13:38:13 +01:00
2023-07-23 13:38:13 +01:00
2023-07-20 19:21:29 +01:00
2024-01-01 12:42:37 +00:00
2023-05-21 18:54:53 +01:00
2022-06-14 11:53:14 +01:00
2022-06-14 11:53:14 +01:00
2023-01-08 12:12:10 +00:00
2022-06-14 11:53:14 +01:00
2022-06-14 11:53:14 +01:00
2022-06-14 11:53:14 +01:00
2022-07-18 18:43:42 +01:00
2022-11-23 19:43:57 +00:00
2023-05-21 18:54:53 +01:00
2023-05-21 18:54:53 +01:00
2023-05-21 18:54:53 +01:00
2023-03-18 16:39:35 +00:00
2022-06-14 11:53:15 +01:00
2022-06-14 11:53:15 +01:00
2023-07-20 19:21:30 +01:00
2022-06-14 11:53:15 +01:00
2022-09-04 14:55:03 +01:00
2022-10-24 05:57:16 -07:00
2022-12-28 17:20:04 +00:00
2022-11-23 19:43:58 +00:00
2023-05-30 21:07:15 +01:00
2023-10-13 19:10:39 +01:00
2023-10-13 19:10:39 +01:00