31 lines
1.4 KiB
Diff
31 lines
1.4 KiB
Diff
From eb81d167cc1889d262051b4bca6beee88b4d0043 Mon Sep 17 00:00:00 2001
|
|
From: WaterByWind <WaterByWind@users.noreply.github.com>
|
|
Date: Sun, 14 Apr 2019 16:16:09 -0400
|
|
Subject: [PATCH 007/101] drv:pinctrl: pinctrl-sun50i-a64 disable_strict_mode
|
|
|
|
With kernel 4.15.y (and later):
|
|
* Strict mode was enabled by default via commit 1396007286b1e2fd5dd10ae6a5ccaaaed51ab762 which can/will cause breakage with existing implementations.
|
|
* The ability to configure strict mode was added via commit aae842a3ff3385f27f1df8a9ee1494a416ec032d to allow older drivers to maintain existing behavior and avoid breakage.
|
|
* Commit cd70387f892205bcd7b8093b0837269b0739cbe0 had then explicitly disabled strict mode for most other existing SoCs but did not include A64.
|
|
|
|
This change is to update the A64 pinctrl driver similar to the other pre-existing SoC pinctrl drivers.
|
|
---
|
|
drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
|
|
index 7b83d3755..bea52c5a9 100644
|
|
--- a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
|
|
+++ b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
|
|
@@ -578,6 +578,7 @@ static const struct sunxi_pinctrl_desc a64_pinctrl_data = {
|
|
.pins = a64_pins,
|
|
.npins = ARRAY_SIZE(a64_pins),
|
|
.irq_banks = 3,
|
|
+ .disable_strict_mode = true,
|
|
};
|
|
|
|
static int a64_pinctrl_probe(struct platform_device *pdev)
|
|
--
|
|
2.31.1
|
|
|