kernel-fxtec-pro1x/drivers/pinctrl
Hui Wang 1807161067 pinctrl: pinctrl-imx: fix map setting problem if NO_PAD_CTL is set
new_map is allocated according to map_num instead of grp->npins,
if a pin or some pins of a group has NO_PAD_CTL property, the map_num
and the grp->npin are different definitely.

When we set mapping information to the new_map[], we should skip those
pins with NO_PAD_CTL from index, otherwise it is possible the driver
will aceesss to a unallocated region.

Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Hui Wang <jason77.wang@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-07-03 21:51:08 +02:00
..
spear pinctrl/pinctrl-spear: remove IS_ERR checking of pmx->pctl 2012-07-03 21:51:08 +02:00
core.c pinctrl: add pinctrl_add_gpio_ranges function 2012-07-03 21:51:08 +02:00
core.h pinctrl: show pin name for pingroups in sysfs 2012-04-18 13:53:13 +02:00
devicetree.c pinctrl: implement pinctrl deferred probing 2012-04-18 13:53:11 +02:00
devicetree.h pinctrl: core device tree mapping table parsing support 2012-04-18 13:53:10 +02:00
Kconfig pinctrl: select the proper symbol 2012-07-03 21:51:08 +02:00
Makefile arm-soc: soc-specific pinctrl changes 2012-05-22 09:39:42 -07:00
pinconf-generic.c pinctrl: introduce generic pin config 2012-03-12 22:49:02 +01:00
pinconf.c pinctrl: a minor error checking improvement for pinconf 2012-05-15 09:43:18 +02:00
pinconf.h pinctrl: pinconf: fix compilation error if PINCONF is not selected 2012-04-18 13:53:12 +02:00
pinctrl-coh901.c pinctrl/coh901: use clk_prepare_[en|dis]able() 2012-07-03 21:51:08 +02:00
pinctrl-coh901.h pinctrl: support pinconfig on the U300 2012-03-12 22:49:03 +01:00
pinctrl-imx.c pinctrl: pinctrl-imx: fix map setting problem if NO_PAD_CTL is set 2012-07-03 21:51:08 +02:00
pinctrl-imx.h pinctrl: pinctrl-imx: add imx pinctrl core driver 2012-05-02 01:14:40 +02:00
pinctrl-imx6q.c pinctrl: pinctrl-imx: add imx6q pinctrl driver 2012-05-02 01:14:40 +02:00
pinctrl-imx23.c pinctrl: add pinctrl-mxs support 2012-05-02 01:18:27 +02:00
pinctrl-imx28.c pinctrl: add pinctrl-mxs support 2012-05-02 01:18:27 +02:00
pinctrl-imx51.c pinctrl: pinctrl-imx: add imx51 pinctrl driver 2012-05-20 21:00:41 +02:00
pinctrl-imx53.c pinctrl: pinctrl-imx: add imx53 pinctrl driver 2012-05-20 21:00:18 +02:00
pinctrl-mmp2.c pinctrl: enable pinmux for mmp series 2012-02-01 19:42:35 +01:00
pinctrl-mxs.c pinctrl: mxs: Use kfree to fix build error 2012-06-17 19:44:44 +02:00
pinctrl-mxs.h pinctrl: add pinctrl-mxs support 2012-05-02 01:18:27 +02:00
pinctrl-nomadik-db8500.c pinctrl/nomadik: implement pin multiplexing 2012-05-11 11:14:16 +02:00
pinctrl-nomadik.c pinctrl/nomadik: document Alt-C glitch 2012-06-17 19:44:44 +02:00
pinctrl-nomadik.h pinctrl/nomadik: implement pin multiplexing 2012-05-11 11:14:16 +02:00
pinctrl-pxa3xx.c pinctrl: pinctrl-pxa3xx: remove empty pinmux disable function 2012-05-15 09:59:50 +02:00
pinctrl-pxa3xx.h pinctrl: enable pinmux for mmp series 2012-02-01 19:42:35 +01:00
pinctrl-pxa168.c pinctrl: enable pinmux for mmp series 2012-02-01 19:42:35 +01:00
pinctrl-pxa910.c pinctrl: enable pinmux for mmp series 2012-02-01 19:42:35 +01:00
pinctrl-sirf.c pinctrl: sirf: mark of_device_id match table as __devinitconst 2012-06-04 09:52:52 +02:00
pinctrl-tegra.c pinctrl/pinctrl-tegra: remove IS_ERR checking of pmx->pctl 2012-07-03 21:51:08 +02:00
pinctrl-tegra.h pinctrl: tegra: refactor probe handling 2012-04-18 10:26:40 -06:00
pinctrl-tegra20.c pinctrl: tegra: refactor probe handling 2012-04-18 10:26:40 -06:00
pinctrl-tegra30.c pinctrl: tegra: refactor probe handling 2012-04-18 10:26:40 -06:00
pinctrl-u300.c pinctrl/u300: drop unused variable 2012-07-03 21:51:08 +02:00
pinmux.c pinctrl: make pinmux disable function optional 2012-05-15 09:44:50 +02:00
pinmux.h pinctrl: ifdef CONFIG_DEBUG_FS cleanup 2012-04-18 13:53:12 +02:00