pinctrl: intel: fetch community only when we need it
authorRaag Jadav <raag.jadav@intel.com>
Wed, 11 Oct 2023 06:42:18 +0000 (12:12 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 11 Oct 2023 20:40:56 +0000 (23:40 +0300)
commit8d751da9f1d790f1d5e4b109eb0ad4a366d5efc8
tree59931e3d57e2537c5f2e080b3990005efd6818c7
parent6fe13aa7c8696bae97b251b4c050cbb93d3065d3
pinctrl: intel: fetch community only when we need it

We check community features only in case PIN_CONFIG_BIAS_PULL_DOWN while
setting/getting pad termination. No need to fetch the community otherwise.

Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c