summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-10-14 13:46:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-18 20:27:56 +0300
commit919600c4b15eedb96d7a2734accc9e68203ff614 (patch)
treee48d12e58ae87b0e03803e3638b0fee4604bfd11 /arch/arm/include
parent6826bfd942bce8094121587bd6d91bb3a4e34cb2 (diff)
downloadlinux-919600c4b15eedb96d7a2734accc9e68203ff614.tar.xz
pinctrl: intel: Set default bias in case no particular value given
[ Upstream commit f3c75e7a9349d1d33eb53ddc1b31640994969f73 ] When GPIO library asks pin control to set the bias, it doesn't pass any value of it and argument is considered boolean (and this is true for ACPI GpioIo() / GpioInt() resources, by the way). Thus, individual drivers must behave well, when they got the resistance value of 1 Ohm, i.e. transforming it to sane default. In case of Intel pin control hardware the 5 kOhm sounds plausible because on one hand it's a minimum of resistors present in all hardware generations and at the same time it's high enough to minimize leakage current (will be only 200 uA with the above choice). Fixes: e57725eabf87 ("pinctrl: intel: Add support for hardware debouncer") Reported-by: Jamie McClymont <jamie@kwiius.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm/include')
0 files changed, 0 insertions, 0 deletions