linux-hardened/drivers/pinctrl
Devendra Naga 0bf7481852 pinctrl: pinctrl-mxs: Take care of frees if the kzalloc fails
if there is no purecfg , the group pointer is allocated using kzalloc and if it
fails to allocate, we wont free the new_map,

if config is true, we call kmemdup and if it
fails to do so we wont free the allocated group if there is no purecfg.

fix this by doing the frees of new_map pointer and group pointers.

Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-06-12 16:25:56 +02:00
..
spear pinctrl: SPEAr1310: Fix pin numbers for clcd_high_res 2012-05-14 17:34:11 +02:00
core.c pinctrl: fix a minor harmless typo 2012-06-04 09:52:52 +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 arm-soc: soc-specific pinctrl changes 2012-05-22 09:39:42 -07: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: mark const init data with __initconst instead of __initdata 2012-04-18 13:53:10 +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 incorrect debug message of maps 2012-06-12 13:35:33 +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: pinctrl-mxs: Take care of frees if the kzalloc fails 2012-06-12 16:25:56 +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: fix up typo 2012-06-12 13:35:24 +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: tegra: error reporting cleanup 2012-04-25 15:21:47 -06: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: replace list_*() with get_*_count() 2012-04-18 13:53:10 +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