From: Uwe Kleine-König Date: Tue, 27 Jan 2015 22:50:25 +0000 (+0100) Subject: pinctrl: pinctrl-imx: don't use invalid value of conf_reg X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~123^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff0f034e95d65f8f063a362dfcf86e986377a82;p=pandora-kernel.git 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 Signed-off-by: Linus Walleij --- Reading git-diff-tree failed