summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-adi2-bf54x.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2014-10-21 11:40:45 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-10-30 15:52:39 +0100
commitfdaaf6d6609b0ddb65cd3211cc7ceb892d7a2550 (patch)
treeb97f86dae72a112c96707ff8f1a15b944c22da8b /drivers/pinctrl/pinctrl-adi2-bf54x.c
parentcbd1b6529f07308bc4921a088b0f83895e403109 (diff)
downloadlinux-fdaaf6d6609b0ddb65cd3211cc7ceb892d7a2550.tar.gz
linux-fdaaf6d6609b0ddb65cd3211cc7ceb892d7a2550.tar.bz2
linux-fdaaf6d6609b0ddb65cd3211cc7ceb892d7a2550.zip
pinctrl: mxs: warn if functions are not grouped by name
The mxs pinctrl driver cannot handle when functions are not grouped by name (which IMO is a bug). This happens for example if a imx28-somemachine.dts provides a function that has the same name as a function defined in imx28.dtsi. The proper way to fix that would be to check for duplicates in the loops (which increases parsing time) or parse the groups first and sort the resulting array. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-adi2-bf54x.c')
0 files changed, 0 insertions, 0 deletions