pinctrl: baytrail: Rectify debounce support (part 2)
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 26 Jan 2017 17:24:07 +0000 (19:24 +0200)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:58:15 +0000 (02:58 +0000)
commit640704e9db0b95586666f0132b357e4acfebd2e0
treed6b886accb83445f9a6d9db5f7517bd28a7ade60
parent7d50289763bd611c6e92d88fc5aef0b3900dc498
pinctrl: baytrail: Rectify debounce support (part 2)

[ Upstream commit 827e1579e1d5cb66e340e7be1944b825b542bbdf ]

The commit 04ff5a095d66 ("pinctrl: baytrail: Rectify debounce support")
almost fixes the logic of debuonce but missed couple of things, i.e.
typo in mask when disabling debounce and lack of enabling it back.

This patch addresses above issues.

Reported-by: Jean Delvare <jdelvare@suse.de>
Fixes: 04ff5a095d66 ("pinctrl: baytrail: Rectify debounce support")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/intel/pinctrl-baytrail.c