]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: lynxpoint: Relax GPIO request rules
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 25 Nov 2019 17:19:56 +0000 (19:19 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Dec 2019 14:48:48 +0000 (16:48 +0200)
commit5149d8f0f720f38a17ea1f1100afb61367e262ef
tree26055fe2313284e8fe4f5e1138047c4a80c2c100
parent2f9906973a75f3ee58038fc34e3ac30d04bab267
pinctrl: lynxpoint: Relax GPIO request rules

A pin in native mode still can be requested as GPIO, though we assume
that firmware has configured it properly, which sometimes is not the case.

Here we allow turning the pin as GPIO to avoid potential issues,
but issue warning that something might be wrong.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-lynxpoint.c