]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:34:48 +0000 (08:34 +0200)
commite375b488d87a24a201b874fb5790eef7ed670497
treecfe08c0166baa3a495c91d349617c549340877d6
parent78b20161c76b6b551fdd96fc1ad95490d9ae134a
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