1
0
Fork 0
alistair23-linux/drivers/pinctrl/mvebu
Sebastian Hesselbarth 7864d92621 pinctrl: mvebu: fix num_settings in mpp group assignment
When assigning mpp settings from static mpp modes to mpp groups,
we do not want any groups that have no supported setting for a
specific Kirkwood variant. However, when there is at least a
single supported setting, we need to assign the number of all
settings in this mode to grp->num_settings as we are reusing
the static modes table.

Fixes: 0581b16b18 ("pinctrl: mvebu: complain about missing group after checking variant")
Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-02-13 23:51:45 +01:00
..
Kconfig pinctrl: mvebu: add pinctrl driver for Marvell Armada 39x 2015-03-04 13:53:55 +01:00
Makefile pinctrl: mvebu: guard sub-directory with CONFIG_PINCTRL_MVEBU 2015-12-01 10:41:03 +01:00
pinctrl-armada-38x.c pinctrl: mvebu: armada-38x: add ptp functions 2015-06-10 14:30:44 +02:00
pinctrl-armada-39x.c pinctrl: mvebu: armada-39x: add support for Armada 395 variant 2015-06-10 14:36:34 +02:00
pinctrl-armada-370.c Here is the bulk of pin control changes for the v4.2 series: 2015-06-24 19:21:02 -07:00
pinctrl-armada-375.c pinctrl: mvebu: armada-{370,375}: normalize audio pins 2015-06-10 13:43:52 +02:00
pinctrl-armada-xp.c pinctrl: mvebu: armada-xp: add dram functions 2015-06-10 14:11:50 +02:00
pinctrl-dove.c pinctrl: dove: Constify struct regmap_config and of_device_id 2015-01-14 14:21:53 +01:00
pinctrl-kirkwood.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00
pinctrl-mvebu.c pinctrl: mvebu: fix num_settings in mpp group assignment 2016-02-13 23:51:45 +01:00
pinctrl-mvebu.h pinctrl: mvebu: remove MPP_REG_CTRL macro 2014-02-25 18:38:31 +01:00
pinctrl-orion.c pinctrl: constify of_device_id array 2015-03-27 09:58:35 +01:00