]> asedeno.scripts.mit.edu Git - linux.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)
commit15add06841a3b0b4734a72847a73c71fd09ebe52
treec90bfba936885c863db35e0a097c3548bb16a3c4
parentd449991c4d1d0663b42db7648510a9911de21298
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