Files
linux/drivers
Antti Palosaari 238442c2b5 cxd2820r: fix gpio null pointer dereference
commit 0ffb94b6cc upstream.

Setting GPIOs during probe causes null pointer deference when
GPIOLIB was not selected by Kconfig. Initialize driver private
field before calling set gpios.

It is regressing bug since 4.9.

Fixes: 07fdf7d9f1 ("[media] cxd2820r: add I2C driver bindings")

Reported-by: Chris Rankin <rankincj@gmail.com>
Tested-by: Chris Rankin <rankincj@gmail.com>
Tested-by: Håkan Lennestål <hakan.lennestal@gmail.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-12 06:41:41 +01:00
..
2017-02-09 08:08:27 +01:00
2016-12-05 14:53:46 -05:00
2016-09-27 12:33:47 +02:00
2017-02-23 17:44:36 +01:00
2016-09-20 20:57:12 +10:00
2016-11-29 16:43:24 +01:00
2017-02-23 17:44:35 +01:00
2017-01-26 08:24:45 +01:00
2017-02-26 11:10:51 +01:00
2016-11-01 09:04:04 -06:00