diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-06-18 01:00:48 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-06-26 09:51:42 +0200 |
commit | eb7692b4f3b315f7ec1bdb01a0db4b1dbb5c2a32 (patch) | |
tree | cf1b8736e60edd131816be1c69849879fc7f9c70 /drivers/pinctrl/pinctrl-gemini.c | |
parent | pinctrl: Cut unused sysfs includes (diff) | |
download | linux-eb7692b4f3b315f7ec1bdb01a0db4b1dbb5c2a32.tar.xz linux-eb7692b4f3b315f7ec1bdb01a0db4b1dbb5c2a32.zip |
pinctrl: gemini: Mask properly
Some logical error in the gemini pin control driver made
it not mask and write properly for the GMAC.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-gemini.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-gemini.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-gemini.c b/drivers/pinctrl/pinctrl-gemini.c index 8c9970ae8505..fa7d998e1d5a 100644 --- a/drivers/pinctrl/pinctrl-gemini.c +++ b/drivers/pinctrl/pinctrl-gemini.c @@ -1696,6 +1696,7 @@ static const struct gemini_pin_group gemini_3516_pin_groups[] = { .name = "gmii_gmac0_grp", .pins = gmii_gmac0_3516_pins, .num_pins = ARRAY_SIZE(gmii_gmac0_3516_pins), + .mask = GEMINI_GMAC_IOSEL_MASK, .driving_mask = GENMASK(17, 16), }, { @@ -1703,6 +1704,7 @@ static const struct gemini_pin_group gemini_3516_pin_groups[] = { .pins = gmii_gmac1_3516_pins, .num_pins = ARRAY_SIZE(gmii_gmac1_3516_pins), /* Bring out RGMII on the GMAC1 pins */ + .mask = GEMINI_GMAC_IOSEL_MASK, .value = GEMINI_GMAC_IOSEL_GMAC0_GMAC1_RGMII, .driving_mask = GENMASK(19, 18), }, |