]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: meson: implement the gpio_chip get_direction callback
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Fri, 17 Apr 2020 18:33:48 +0000 (20:33 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 28 Apr 2020 10:00:46 +0000 (12:00 +0200)
commit3d26f2cdfaa7e1d167e03752645c00b8b54773a4
tree4260ecebe8de77d3e5f5ffef5cb36640198bca2c
parentc0f09589a1c367c785eaece5ac29496c529e0a6a
pinctrl: meson: implement the gpio_chip get_direction callback

Implement the get_direction callback so we read the direction from the
actual GPIO controller register. This is recommended by the gpio_chip
kernel doc.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20200417183349.1283092-2-martin.blumenstingl@googlemail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/meson/pinctrl-meson.c