diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2018-06-22 00:41:23 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-07-02 05:30:47 -0700 |
commit | 41f8fee385a00dcbc6107e7d356490391505a59a (patch) | |
tree | 3c7faa0a6fed45a32196feb4a04c5898f935aee3 /drivers/input | |
parent | 2bcb1be0923700deee554120304777cad465b5bc (diff) | |
download | linux-41f8fee385a00dcbc6107e7d356490391505a59a.tar.gz linux-41f8fee385a00dcbc6107e7d356490391505a59a.tar.bz2 linux-41f8fee385a00dcbc6107e7d356490391505a59a.zip |
ARM: OMAP1: ams-delta: Hog "keybrd_dataout" GPIO pin
"keybrd_dataout" GPIO pin used to be initialized by ams-delta-serio
driver to a state safe for ams-delta-serio device function and not
changed thereafter. As such, it may be assumed not under the driver
control and responsibility for its initialization handed over to board
init file.
Introduce a GPIO hog table and take over control of the
"keybrd_dataout" GPIO pin from the ams-delta-serio driver.
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/serio/ams_delta_serio.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c index 854d0d3ada52..b955c6a72e99 100644 --- a/drivers/input/serio/ams_delta_serio.c +++ b/drivers/input/serio/ams_delta_serio.c @@ -121,11 +121,6 @@ static const struct gpio ams_delta_gpios[] __initconst_or_module = { .flags = GPIOF_DIR_IN, .label = "serio-clock", }, - { - .gpio = AMS_DELTA_GPIO_PIN_KEYBRD_DATAOUT, - .flags = GPIOF_OUT_INIT_LOW, - .label = "serio-dataout", - }, }; static int ams_delta_serio_init(struct platform_device *pdev) |