Searched hist:e3829d15460feb884805012c72ec4a17402822eb (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier-core.c | diff e3829d15460feb884805012c72ec4a17402822eb Mon Jul 31 01:21:07 CDT 2017 Masahiro Yamada <yamada.masahiro@socionext.com> pinctrl: uniphier: fix pin_config_get() for input-enable
For LD11/LD20 SoCs (capable of per-pin input enable), iectrl bits are located across multiple registers. So, the register offset must be taken into account. Otherwise, wrong input-enable status is displayed.
While we here, rename the macro because it is a base address.
Fixes: aa543888ca8c ("pinctrl: uniphier: support per-pin input enable for new SoCs") Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|