OSDN Git Service

pinctrl/amd: Remove the default de-bounce time
authorAgrawal, Nitesh-kumar <Nitesh-kumar.Agrawal@amd.com>
Tue, 26 Jul 2016 08:28:19 +0000 (08:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Sep 2016 06:32:41 +0000 (08:32 +0200)
commitb518b0c8534fb09760605253b53b44c97f2963d9
treee862254f9fa8d14bc18be7cca99c6bd2da539461
parentd860213f8baf27ef0c014737aa4162b21ad734df
pinctrl/amd: Remove the default de-bounce time

commit 8cf4345575a416e6856a6856ac6eaa31ad883126 upstream.

In the function amd_gpio_irq_enable() and
amd_gpio_direction_input(), remove the code which is setting
the default de-bounce time to 2.75ms.

The driver code shall use the same settings as specified in
BIOS. Any default assignment impacts TouchPad behaviour when
the LevelTrig is set to EDGE FALLING.

Reviewed-by:  Ken Xue <Ken.Xue@amd.com>
Signed-off-by: Nitesh Kumar Agrawal <Nitesh-kumar.Agrawal@amd.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/pinctrl-amd.c