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)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Jan 2017 14:46:33 +0000 (15:46 +0100)
commit827e1579e1d5cb66e340e7be1944b825b542bbdf
tree6eb8389acb1e9d1fabd496eedd861734f832d90b
parent19b26d92dfb70f56440c187a20c49102ab648b97
pinctrl: baytrail: Rectify debounce support (part 2)

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>
drivers/pinctrl/intel/pinctrl-baytrail.c