Christophe JAILLET
b0536f9826
iio: adc: ad7780: Fix a resource handling path in 'ad7780_probe()'
...
If 'ad7780_init_gpios()' fails, we must not release some resources that
have not been allocated yet. Return directly instead.
Fixes: 5bb30e7daf00 ("staging: iio: ad7780: move regulator to after GPIO init")
Fixes: 9085daa4abcc ("staging: iio: ad7780: add gain & filter gpio support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Renato Lui Geh <renatogeh@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-07-05 14:22:48 +01:00
..
2019-10-18 19:37:44 +01:00
2019-12-15 11:42:14 +00:00
2019-11-16 17:06:10 +00:00
2019-11-16 17:06:10 +00:00
2019-11-16 17:06:10 +00:00
2020-03-08 17:28:31 +00:00
2020-04-19 17:50:03 +01:00
2019-12-15 11:42:16 +00:00
2019-05-30 11:25:18 -07:00
2020-03-08 17:28:44 +00:00
2019-05-30 11:29:19 -07:00
2020-05-03 09:47:21 +01:00
2019-08-05 15:59:14 +01:00
2019-08-25 16:11:00 +01:00
2019-12-08 18:07:40 +00:00
2019-08-25 16:11:00 +01:00
2019-05-30 11:25:18 -07:00
2019-02-09 18:46:01 +00:00
2020-07-05 14:22:48 +01:00
2020-04-19 16:56:41 +01:00
2020-04-27 12:20:40 +02:00
2019-12-15 11:42:13 +00:00
2019-12-29 15:20:03 +00:00
2019-12-08 18:10:30 +00:00
2020-04-19 16:56:23 +01:00
2020-05-03 09:47:18 +01:00
2020-07-04 17:05:50 +01:00
2019-11-09 12:12:54 +00:00
2020-04-19 16:56:41 +01:00
2020-04-25 16:04:19 +01:00
2019-06-19 17:09:55 +02:00
2019-10-09 19:11:27 +01:00
2019-11-09 12:16:31 +00:00
2019-11-09 12:18:22 +00:00
2019-10-18 20:02:50 +01:00
2019-08-05 15:59:14 +01:00
2019-11-02 14:36:33 +00:00
2019-08-05 15:59:14 +01:00
2019-06-19 17:09:55 +02:00
2020-05-16 17:36:53 +01:00
2020-04-19 16:56:41 +01:00
2019-08-11 09:59:38 +01:00
2019-10-22 12:58:07 +01:00
2019-08-05 15:59:14 +01:00
2019-11-09 12:19:54 +00:00
2020-03-21 10:27:23 +00:00
2020-06-07 10:45:08 -07:00
2019-06-19 17:09:55 +02:00
2019-11-09 12:21:24 +00:00
2019-08-05 15:59:14 +01:00
2019-06-05 17:30:27 +02:00
2019-06-19 17:09:55 +02:00
2019-12-15 12:15:19 +00:00
2019-12-15 12:15:19 +00:00
2019-12-15 12:15:19 +00:00
2019-12-15 12:15:19 +00:00
2020-06-07 10:45:08 -07:00
2019-12-08 18:10:29 +00:00
2020-03-08 17:28:44 +00:00
2020-04-19 16:56:31 +01:00
2020-04-19 16:56:13 +01:00
2020-01-10 10:44:00 +01:00
2020-03-08 17:28:45 +00:00
2020-05-03 09:47:18 +01:00
2019-11-03 19:54:53 +01:00
2019-10-18 20:01:34 +01:00
2020-05-26 10:41:47 +01:00
2019-11-09 12:14:34 +00:00
2019-05-30 11:26:37 -07:00
2019-05-24 17:36:47 +02:00
2020-02-14 15:06:24 +00:00
2019-06-05 17:37:10 +02:00
2019-05-21 10:50:45 +02:00
2019-04-22 11:51:29 +01:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2020-01-31 10:30:40 -08:00
2020-01-31 10:30:40 -08:00
2019-11-09 12:24:55 +00:00
2020-03-27 09:42:37 +00:00
2019-08-05 15:59:14 +01:00
2019-10-13 08:53:34 +01:00
2019-11-09 12:26:56 +00:00
2020-05-22 17:29:25 +01:00
2019-12-15 11:42:17 +00:00
2020-05-03 14:15:38 +01:00
2020-05-03 14:16:49 +01:00
2019-04-27 14:09:28 +01:00
2019-06-22 10:29:19 +01:00
2019-10-18 19:49:03 +01:00
2019-05-30 11:26:41 -07:00
2020-04-19 16:56:40 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:06 +02:00
2020-05-03 09:47:18 +01:00
2019-12-15 11:42:18 +00:00
2019-12-15 11:42:17 +00:00
2020-05-03 14:09:25 +01:00
2019-06-19 17:09:55 +02:00
2020-03-08 17:28:45 +00:00
2019-10-22 11:34:20 +01:00
2019-08-05 15:59:14 +01:00
2019-11-09 12:28:21 +00:00
2019-05-30 11:26:32 -07:00
2020-04-27 12:20:40 +02:00
2020-03-21 10:25:35 +00:00
2020-03-21 10:25:35 +00:00