2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/pinctrl/freescale
Vladimir Zapolskiy 9a4f424531 pinctrl: freescale: imx: fix bogus check of of_iomap() return value
On error path of_iomap() returns NULL, hence IS_ERR() check is invalid
and may cause a NULL pointer dereference, the change fixes this
problem.

While we are here invert a device node check to simplify the code.

Fixes: 26d8cde526 ("pinctrl: freescale: imx: add shared input select reg support")
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-03-30 10:57:52 +02:00
..
Kconfig pinctrl: imx: add i.mx6ul subdriver 2015-07-16 09:39:02 +02:00
Makefile pinctrl: imx: add i.mx6ul subdriver 2015-07-16 09:39:02 +02:00
pinctrl-imx1-core.c pinctrl: imx1-core: add missing of_node_put 2015-11-17 15:01:37 +01:00
pinctrl-imx1.c pinctrl: freescale: drop owner assignment from platform_drivers 2014-10-20 16:21:22 +02:00
pinctrl-imx1.h
pinctrl-imx6dl.c pinctrl: imx: attach iomuxc device to gpr syscon 2016-03-08 15:54:03 +07:00
pinctrl-imx6q.c pinctrl: imx: attach iomuxc device to gpr syscon 2016-03-08 15:54:03 +07:00
pinctrl-imx6sl.c pinctrl: imx: attach iomuxc device to gpr syscon 2016-03-08 15:54:03 +07:00
pinctrl-imx6sx.c pinctrl: imx: attach iomuxc device to gpr syscon 2016-03-08 15:54:03 +07:00
pinctrl-imx6ul.c pinctrl: imx: attach iomuxc device to gpr syscon 2016-03-08 15:54:03 +07:00
pinctrl-imx7d.c pinctrl: imx: attach iomuxc device to gpr syscon 2016-03-08 15:54:03 +07:00
pinctrl-imx21.c pinctrl: freescale: drop owner assignment from platform_drivers 2014-10-20 16:21:22 +02:00
pinctrl-imx23.c pinctrl: freescale: drop owner assignment from platform_drivers 2014-10-20 16:21:22 +02:00
pinctrl-imx25.c pinctrl: imx25: ensure that a pin with id i is at position i in the info array 2015-10-02 04:06:02 -07:00
pinctrl-imx27.c pinctrl: freescale: drop owner assignment from platform_drivers 2014-10-20 16:21:22 +02:00
pinctrl-imx28.c pinctrl: freescale: drop owner assignment from platform_drivers 2014-10-20 16:21:22 +02:00
pinctrl-imx35.c pinctrl: freescale: drop owner assignment from platform_drivers 2014-10-20 16:21:22 +02:00
pinctrl-imx50.c pinctrl: imx: attach iomuxc device to gpr syscon 2016-03-08 15:54:03 +07:00
pinctrl-imx51.c pinctrl: freescale: drop owner assignment from platform_drivers 2014-10-20 16:21:22 +02:00
pinctrl-imx53.c pinctrl: imx: attach iomuxc device to gpr syscon 2016-03-08 15:54:03 +07:00
pinctrl-imx.c pinctrl: freescale: imx: fix bogus check of of_iomap() return value 2016-03-30 10:57:52 +02:00
pinctrl-imx.h pinctrl: imx: attach iomuxc device to gpr syscon 2016-03-08 15:54:03 +07:00
pinctrl-mxs.c pinctrl: mxs: Remove unneded semicolon 2015-10-02 04:06:47 -07:00
pinctrl-mxs.h
pinctrl-vf610.c pinctrl: freescale: add ZERO_OFFSET_VALID flag for vf610 pinctrl 2015-12-10 18:01:50 +01:00