]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: amd: fix incorrect way to disable debounce filter
authorCoiby Xu <coiby.xu@gmail.com>
Thu, 5 Nov 2020 23:19:09 +0000 (07:19 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Nov 2020 18:20:32 +0000 (19:20 +0100)
commit2cd21fe5bcc4137912b30033610feca8d40e9bed
treed5957c0bf6e89b73c3d0d03e80df65d6a479bbdb
parentfa76dd3c1df3f32511f5fa7789e2f8301936eb3e
pinctrl: amd: fix incorrect way to disable debounce filter

commit 06abe8291bc31839950f7d0362d9979edc88a666 upstream.

The correct way to disable debounce filter is to clear bit 5 and 6
of the register.

Cc: stable@vger.kerne.org
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/linux-gpio/df2c008b-e7b5-4fdd-42ea-4d1c62b52139@redhat.com/
Link: https://lore.kernel.org/r/20201105231912.69527-2-coiby.xu@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/pinctrl-amd.c