Uwe Kleine-König
4ff0f034e9
pinctrl: pinctrl-imx: don't use invalid value of conf_reg
...
The right check for conf_reg to be invalid it testing against -1 not 0
as is done in the rest of the driver.
This fixes an oops that can be triggered by:
cat /sys/kernel/debug/pinctrl/43fac000.iomuxc/*
Fixes: ae75ff814538 ("pinctrl: pinctrl-imx: add imx pinctrl core driver")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-02-03 13:57:52 +01:00
..
2014-10-20 16:21:21 +02:00
2015-02-03 13:57:52 +01:00
2015-01-10 22:47:23 +01:00
2015-01-26 09:13:00 +01:00
2015-01-14 14:21:53 +01:00
2015-01-11 22:32:19 +01:00
2015-01-30 14:36:33 +01:00
2015-01-19 11:04:47 +01:00
2015-01-29 10:40:38 +01:00
2015-01-14 14:21:54 +01:00
2014-12-14 16:10:09 -08:00
2015-01-14 14:21:52 +01:00
2014-10-20 16:21:26 +02:00
2015-01-14 14:20:33 +01:00
2013-04-26 17:01:35 +02:00
2014-02-24 10:44:54 +01:00
2015-01-26 09:13:00 +01:00
2015-01-26 09:13:00 +01:00
2015-01-14 14:21:38 +01:00
2015-01-11 22:32:19 +01:00
2015-01-11 22:32:19 +01:00
2014-02-25 10:49:13 +01:00
2014-02-25 10:49:13 +01:00
2014-09-05 10:33:51 +02:00
2014-02-25 10:49:13 +01:00
2014-10-20 16:21:21 +02:00
2014-12-14 16:10:09 -08:00
2014-10-29 09:28:35 +01:00
2015-01-14 14:21:53 +01:00
2014-10-20 16:21:21 +02:00
2014-07-22 16:34:12 +02:00
2015-01-21 11:02:26 +01:00
2014-09-04 10:05:07 +02:00
2014-04-22 08:41:35 +02:00
2014-10-20 16:21:21 +02:00
2015-01-30 10:38:36 +01:00
2014-10-20 16:21:21 +02:00
2015-01-07 10:44:39 +01:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:21:21 +02:00
2014-10-20 16:21:21 +02:00
2014-10-20 16:21:21 +02:00
2014-10-20 16:21:21 +02:00
2014-12-14 14:57:16 -08:00
2014-09-04 10:05:07 +02:00
2014-04-22 16:55:41 +02:00
2015-01-11 22:32:19 +01:00
2015-01-11 22:32:19 +01:00
2014-10-20 16:21:21 +02:00
2013-08-28 15:50:33 +02:00
2013-08-14 21:00:41 +02:00
2015-01-14 14:20:46 +01:00
2015-01-30 14:30:59 +01:00
2014-09-04 10:05:07 +02:00