]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a50191f7e51245bc6fd04c4df8bd0609f3d11f4
tree6eb8389acb1e9d1fabd496eedd861734f832d90b
parent181aada5871649e9be76798ed51857935f805247
pinctrl: baytrail: Rectify debounce support (part 2)

The commit 03522c7c1856 ("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: 03522c7c1856 ("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