mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
k3screenctrl: fix PHICOMM K3 screen display off
This commit is contained in:
parent
7b75725731
commit
5e4693f2ac
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=k3screenctrl
|
||||
PKG_VERSION:=0.10
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/updateing/k3screenctrl.git
|
||||
|
16
package/lean/k3screenctrl/patches/000-fix-k3screen.patch
Normal file
16
package/lean/k3screenctrl/patches/000-fix-k3screen.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff -Nuar a/src/infocenter.c b/src/infocenter.c
|
||||
--- a/src/infocenter.c 2017-05-02 19:49:08.000000000 +0800
|
||||
+++ b/src/infocenter.c 2021-12-29 17:37:00.837529076 +0800
|
||||
@@ -116,9 +116,10 @@
|
||||
* be malformatted and the results are not reliable.
|
||||
*/
|
||||
const char *stopped_at = tokenize_and_store(out, '\n', stores, store_len);
|
||||
+ int ret = *stopped_at == 0 ? SUCCESS : FAILURE;
|
||||
+
|
||||
free((void *)out);
|
||||
-
|
||||
- return *stopped_at == 0 ? SUCCESS : FAILURE;
|
||||
+ return ret;
|
||||
}
|
||||
|
||||
BASIC_INFO g_basic_info;
|
12
target/linux/bcm53xx/patches-5.4/906-BCM5301x-uart1.patch
Normal file
12
target/linux/bcm53xx/patches-5.4/906-BCM5301x-uart1.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Nuar a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
|
||||
--- a/arch/arm/boot/dts/bcm5301x.dtsi 2021-12-29 16:55:29.441523015 +0800
|
||||
+++ b/arch/arm/boot/dts/bcm5301x.dtsi 2021-12-29 17:03:44.640694605 +0800
|
||||
@@ -38,8 +38,6 @@
|
||||
reg = <0x0400 0x100>;
|
||||
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&iprocslow>;
|
||||
- pinctrl-names = "default";
|
||||
- pinctrl-0 = <&pinmux_uart1>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue
Block a user