Message ID | 20201208182403.40435-1-andriy.shevchenko@linux.intel.com |
---|---|
State | Accepted |
Commit | e8873c0afd34beb67ec492cd648dd0095b911f65 |
Headers | show |
Series | [v2] pinctrl: intel: Actually disable Tx and Rx buffers on GPIO request | expand |
On Tue, Dec 8, 2020 at 7:24 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > Fixes: af7e3eeb84e2 ("pinctrl: intel: Disable input and output buffer when switching to GPIO") > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=210497 b4 strips this BugLink still! (I added it back manually.) I'll try to report it. Yours, Linus Walleij
diff --git a/drivers/pinctrl/intel/pinctrl-intel.c b/drivers/pinctrl/intel/pinctrl-intel.c index e77145e3b31b..5cd720f5b0e1 100644 --- a/drivers/pinctrl/intel/pinctrl-intel.c +++ b/drivers/pinctrl/intel/pinctrl-intel.c @@ -452,8 +452,8 @@ static void intel_gpio_set_gpio_mode(void __iomem *padcfg0) value |= PADCFG0_PMODE_GPIO; /* Disable input and output buffers */ - value &= ~PADCFG0_GPIORXDIS; - value &= ~PADCFG0_GPIOTXDIS; + value |= PADCFG0_GPIORXDIS; + value |= PADCFG0_GPIOTXDIS; /* Disable SCI/SMI/NMI generation */ value &= ~(PADCFG0_GPIROUTIOXAPIC | PADCFG0_GPIROUTSCI);