]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pca953x: add ->set_config implementation
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 7 Feb 2019 16:28:59 +0000 (17:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Feb 2019 08:10:38 +0000 (09:10 +0100)
commit09c8d214152b61586e1de704e4e2f2cefae42f0a
treec90bfba936885c863db35e0a097c3548bb16a3c4
parenta2b0636b0e951930806e334825e5723fbf9db0b0
gpio: pca953x: add ->set_config implementation

This commit adds a minimal implementation of the ->set_config() hook,
with support for the PIN_CONFIG_BIAS_PULL_UP and
PIN_CONFIG_BIAS_PULL_DOWN configurations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c