From 243f9dea233bf2b29f2ccbecad148bbc7c92c89d Mon Sep 17 00:00:00 2001 From: "Igor Zalatov (from Citadel PC)" Date: Mon, 25 Oct 2021 19:52:22 +0300 Subject: [PATCH] Update Novatek patch, tnx @widgetii --- .../patches/00_nt9856x_kernel-4.19.91_sdk_v1.01.002.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/br-ext-chip-novatek/board/nt9856x/kernel/patches/00_nt9856x_kernel-4.19.91_sdk_v1.01.002.patch b/br-ext-chip-novatek/board/nt9856x/kernel/patches/00_nt9856x_kernel-4.19.91_sdk_v1.01.002.patch index cf71d636..e2e91f55 100644 --- a/br-ext-chip-novatek/board/nt9856x/kernel/patches/00_nt9856x_kernel-4.19.91_sdk_v1.01.002.patch +++ b/br-ext-chip-novatek/board/nt9856x/kernel/patches/00_nt9856x_kernel-4.19.91_sdk_v1.01.002.patch @@ -382671,7 +382671,7 @@ diff -urN linux-4.19.91-orig/drivers/pinctrl/novatek/na51055/na51055_pinmux_proc + */ +static int nvt_pinmux_proc_packageid_show(struct seq_file *sfile, void *v) +{ -+ seq_printf(sfile, "0x%x\n", efuse_getPkgVersion()); ++ // seq_printf(sfile, "0x%x\n", efuse_getPkgVersion()); + return 0; +} + @@ -394187,7 +394187,7 @@ diff -urN linux-4.19.91-orig/drivers/pinctrl/novatek/na51089/na51089_pinmux_proc + */ +static int nvt_pinmux_proc_packageid_show(struct seq_file *sfile, void *v) +{ -+ seq_printf(sfile, "0x%x\n", efuse_getPkgVersion()); ++ // seq_printf(sfile, "0x%x\n", efuse_getPkgVersion()); + return 0; +} + @@ -1413555,10 +1413555,10 @@ diff -urN linux-4.19.91-orig/Makefile linux-4.19.91-novatek-v1.01.002/Makefile endef +define filechk_nvtversion.h -+ if [ "$(SHELL)" == "/bin/dash" ]; then \ ++ if [ "$(SHELL)" == "/bin/guano" ]; then \ + echo "#define NVT_UTS_RELEASE \t\""$(KERNELVERSION)_$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion --show-nvtver)"\""; \ + else \ -+ echo "#define NVT_UTS_RELEASE \t\""$(KERNELVERSION)_$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion --show-nvtver)"\""; \ ++ echo "#define NVT_UTS_RELEASE \""4.19.91_af5fb85"\""; \ + fi +endef +