Commit a4337a24 authored by Andy Shevchenko's avatar Andy Shevchenko
Browse files

pinctrl: intel: Fix the revision for new features (1kOhm PD, HW debouncer)



The 1kOhm pull down and hardware debouncer are features of the revision 0.92
of the Chassis specification. Fix that in the code accordingly.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 340bba73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1611,7 +1611,7 @@ int intel_pinctrl_probe(struct platform_device *pdev,
		value = readl(regs + REVID);
		if (value == ~0u)
			return -ENODEV;
		if (((value & REVID_MASK) >> REVID_SHIFT) >= 0x94) {
		if (((value & REVID_MASK) >> REVID_SHIFT) >= 0x92) {
			community->features |= PINCTRL_FEATURE_DEBOUNCE;
			community->features |= PINCTRL_FEATURE_1K_PD;
		}