pinctrl: jasperlake: Unhide SPI group of pins
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Nov 2020 19:59:23 +0000 (21:59 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Nov 2020 10:07:56 +0000 (12:07 +0200)
commit59024c936561090d766370e839a880dd42232c33
tree3a1a4e3ca55fa931262ffc0cc6f19083690f90fb
parentf3c75e7a9349d1d33eb53ddc1b31640994969f73
pinctrl: jasperlake: Unhide SPI group of pins

If the group of pins is hidden in the pin list it affects
the register offset calculation despite fixed GPIO base.
Hence, the offsets of all pins after the hidden group
are broken. Instead we have to unhide the group and use a flag
to exclude it from GPIO number space.

Fixes: e278dcb7048b ("pinctrl: intel: Add Intel Jasper Lake pin controller support")
Reported-by: Divagar Mohandass <divagar.mohandass@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-jasperlake.c