Fabien Parent
15207a92e0
iio: adc: mediatek: fix unset field
...
dev_comp field is used in a couple of places but it is never set. This
results in kernel oops when dereferencing a NULL pointer. Set the
`dev_comp` field correctly in the probe function.
Fixes: 6d97024dce23 ("iio: adc: mediatek: mt6577-auxadc, add mt6765 support")
Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Cc: <Stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201018194644.3366846-1-fparent@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-11-01 15:22:46 +00:00
..
2020-08-23 17:36:59 -05:00
2020-07-20 09:03:20 +01:00
2019-11-16 17:06:10 +00:00
2020-06-14 11:49:59 +01:00
2019-11-16 17:06:10 +00:00
2020-09-20 18:26:44 +01:00
2020-07-20 09:03:37 +01:00
2020-06-20 17:34:44 +01:00
2020-09-29 17:27:05 +01:00
2020-09-29 17:34:25 +01:00
2020-07-20 09:02:49 +01:00
2020-06-14 14:20:08 +01:00
2019-08-05 15:59:14 +01:00
2019-08-25 16:11:00 +01:00
2020-06-20 17:34:44 +01:00
2019-08-25 16:11:00 +01:00
2020-06-20 17:34:44 +01:00
2020-06-20 17:34:44 +01:00
2020-07-20 09:37:31 +02:00
2020-06-14 14:20:08 +01:00
2020-06-14 14:20:08 +01:00
2020-07-20 09:02:57 +01:00
2020-07-20 09:02:49 +01:00
2020-09-21 18:41:36 +01:00
2020-09-29 17:27:07 +01:00
2020-07-20 09:02:46 +01:00
2020-09-03 19:40:47 +01:00
2020-06-14 11:49:59 +01:00
2020-07-20 09:03:22 +01:00
2020-09-29 17:50:35 +01:00
2020-09-03 19:40:46 +01:00
2020-06-14 11:49:59 +01:00
2020-09-03 19:40:45 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 11:49:59 +01:00
2020-08-23 17:36:59 -05:00
2020-06-14 14:20:08 +01:00
2020-06-20 17:34:44 +01:00
2020-09-03 19:40:49 +01:00
2020-06-14 11:49:59 +01:00
2020-09-21 20:01:50 +01:00
2020-09-21 18:41:35 +01:00
2020-07-07 20:24:08 +01:00
2020-06-14 11:50:04 +01:00
2020-06-14 11:49:59 +01:00
2020-08-31 10:47:52 +01:00
2020-07-22 14:36:31 +01:00
2020-06-14 11:49:59 +01:00
2020-09-22 09:45:11 +02:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-07-07 20:24:08 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 11:49:59 +01:00
2020-07-07 20:24:08 +01:00
2020-09-03 19:40:49 +01:00
2020-07-07 20:24:09 +01:00
2019-12-15 12:15:19 +00:00
2020-06-07 10:45:08 -07:00
2020-07-07 20:24:08 +01:00
2020-08-31 10:47:52 +01:00
2020-06-14 11:49:59 +01:00
2020-07-20 09:03:27 +01:00
2020-07-20 09:03:27 +01:00
2020-07-07 20:24:09 +01:00
2020-07-13 15:05:59 +01:00
2020-09-01 16:08:07 +02:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-09-22 09:45:11 +02:00
2020-05-26 10:41:47 +01:00
2020-11-01 15:22:46 +00:00
2020-06-20 17:34:44 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:59 +01:00
2020-09-16 19:09:51 +01:00
2020-07-20 09:03:31 +01:00
2020-09-22 13:33:19 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 14:20:08 +01:00
2020-06-14 11:49:21 +01:00
2020-06-14 11:49:21 +01:00
2020-09-29 17:50:51 +01:00
2020-06-14 11:49:59 +01:00
2020-07-20 09:03:35 +01:00
2020-06-14 11:49:59 +01:00
2020-07-07 20:24:09 +01:00
2020-06-14 11:49:59 +01:00
2020-09-29 17:50:51 +01:00
2019-12-15 11:42:17 +00:00
2020-09-03 19:40:50 +01:00
2020-10-15 11:07:44 -07:00
2020-09-29 17:27:06 +01:00
2020-10-08 20:44:41 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 14:20:08 +01:00
2020-07-20 09:03:11 +01:00
2020-09-14 06:57:52 +02:00
2020-08-31 10:47:52 +01:00
2020-09-03 19:40:45 +01:00
2020-09-03 19:40:45 +01:00
2020-07-07 20:24:10 +01:00
2020-09-21 20:01:51 +01:00
2020-09-21 20:01:51 +01:00
2020-07-13 15:05:59 +01:00
2020-08-22 11:38:44 +01:00
2020-07-13 15:05:59 +01:00
2020-07-13 15:05:59 +01:00
2020-06-14 14:20:08 +01:00
2020-07-13 15:05:59 +01:00
2020-07-20 09:03:14 +01:00
2020-07-20 09:03:15 +01:00
2020-06-20 17:34:44 +01:00
2020-06-14 11:49:59 +01:00
2020-09-08 13:32:07 +02:00
2020-03-21 10:25:35 +00:00
2020-03-21 10:25:35 +00:00