diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2016-02-01 23:48:23 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-02-13 23:51:45 +0100 |
commit | 7864d92621b6897595fa698b27240828592ebd71 (patch) | |
tree | 6cd818eda86f50f6af50defe4740965c3f7c79f6 /drivers/pinctrl/samsung | |
parent | 111f2b87326199a736c3469265763a6be6e5528f (diff) |
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: 0581b16b1840 ("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>
Diffstat (limited to 'drivers/pinctrl/samsung')
0 files changed, 0 insertions, 0 deletions