On Wed, Jun 10, 2020 at 09:35:34PM +0300, Andy Shevchenko wrote: > It's possible scenario that pin has been in different mode, while > the respective GPIO register has a leftover output buffer enabled. > In such case when we request GPIO it will switch to GPIO mode, and > thus to output with unknown value, followed by switching to input > mode. This can produce a glitch on the pin. > > Disable input and output buffer when switching to GPIO to avoid > potential glitches. I'll send v2 soon with additional patches. Also I move patch "Split intel_config_get() to three functions" closer to the end where is seems more logical (continuation of which is IO protection). -- With Best Regards, Andy Shevchenko