]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.17.12/arm-dts-stih407-pinctrl-fix-complain-about-irq_type_none-usage.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.17.12 / arm-dts-stih407-pinctrl-fix-complain-about-irq_type_none-usage.patch
CommitLineData
722b7c48
GKH
1From foo@baz Sat Jul 28 10:14:30 CEST 2018
2From: Patrice Chotard <patrice.chotard@st.com>
3Date: Fri, 20 Apr 2018 17:41:31 +0200
4Subject: ARM: dts: stih407-pinctrl: Fix complain about IRQ_TYPE_NONE usage
5
6From: Patrice Chotard <patrice.chotard@st.com>
7
8[ Upstream commit e95b8e718f9bd2386a29639dd21c633b4951dc21 ]
9
10Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE")
11kernel is complaining about the IRQ_TYPE_NONE usage which shouldn't
12be used.
13
14Use IRQ_TYPE_LEVEL_HIGH instead.
15
16Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
17Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
18Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19---
20 arch/arm/boot/dts/stih407-pinctrl.dtsi | 10 +++++-----
21 1 file changed, 5 insertions(+), 5 deletions(-)
22
23--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
24+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
25@@ -52,7 +52,7 @@
26 st,syscfg = <&syscfg_sbc>;
27 reg = <0x0961f080 0x4>;
28 reg-names = "irqmux";
29- interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
30+ interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
31 interrupt-names = "irqmux";
32 ranges = <0 0x09610000 0x6000>;
33
34@@ -376,7 +376,7 @@
35 st,syscfg = <&syscfg_front>;
36 reg = <0x0920f080 0x4>;
37 reg-names = "irqmux";
38- interrupts = <GIC_SPI 189 IRQ_TYPE_NONE>;
39+ interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
40 interrupt-names = "irqmux";
41 ranges = <0 0x09200000 0x10000>;
42
43@@ -936,7 +936,7 @@
44 st,syscfg = <&syscfg_front>;
45 reg = <0x0921f080 0x4>;
46 reg-names = "irqmux";
47- interrupts = <GIC_SPI 190 IRQ_TYPE_NONE>;
48+ interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
49 interrupt-names = "irqmux";
50 ranges = <0 0x09210000 0x10000>;
51
52@@ -969,7 +969,7 @@
53 st,syscfg = <&syscfg_rear>;
54 reg = <0x0922f080 0x4>;
55 reg-names = "irqmux";
56- interrupts = <GIC_SPI 191 IRQ_TYPE_NONE>;
57+ interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
58 interrupt-names = "irqmux";
59 ranges = <0 0x09220000 0x6000>;
60
61@@ -1164,7 +1164,7 @@
62 st,syscfg = <&syscfg_flash>;
63 reg = <0x0923f080 0x4>;
64 reg-names = "irqmux";
65- interrupts = <GIC_SPI 192 IRQ_TYPE_NONE>;
66+ interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
67 interrupt-names = "irqmux";
68 ranges = <0 0x09230000 0x3000>;
69