From 7e952a6941a3af3f9eb32cef0093be1d28d07cc5 Mon Sep 17 00:00:00 2001 From: Martin Ayotte Date: Thu, 14 Sep 2017 11:37:34 -0400 Subject: [PATCH] fix clashes and recover zador patches --- .../sun50i-dev/fix-zeroplus2-mmc0-cd-polarity.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patch/kernel/sun50i-dev/fix-zeroplus2-mmc0-cd-polarity.patch diff --git a/patch/kernel/sun50i-dev/fix-zeroplus2-mmc0-cd-polarity.patch b/patch/kernel/sun50i-dev/fix-zeroplus2-mmc0-cd-polarity.patch new file mode 100644 index 0000000000..106d85db40 --- /dev/null +++ b/patch/kernel/sun50i-dev/fix-zeroplus2-mmc0-cd-polarity.patch @@ -0,0 +1,13 @@ +diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +index b6b7a561..a42fd79a 100644 +--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts ++++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +@@ -71,7 +71,7 @@ + pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>; + vmmc-supply = <®_vcc3v3>; + bus-width = <4>; +- cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; ++ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; + status = "okay"; + }; +