summarylogtreecommitdiffstats
path: root/sys-kernel_arch-sources-g14_files-0048-asus-nb-wmi-fix-tablet_mode_sw_int.patch
diff options
context:
space:
mode:
authordragonn2021-10-02 18:39:30 +0200
committerdragonn2021-10-02 18:46:42 +0200
commit1a7d00bb70c5f03cf9ec04e6ab94ad47aa7be450 (patch)
treeb4a3f38d9177d6b3a7fb3ef91ad184a72c01a16c /sys-kernel_arch-sources-g14_files-0048-asus-nb-wmi-fix-tablet_mode_sw_int.patch
parent3fd8f33c94d648c87abfb4db970367cf6b6633a6 (diff)
downloadaur-1a7d00bb70c5f03cf9ec04e6ab94ad47aa7be450.tar.gz
update fan curve patch, 5.14.9, update media patches, tablet mode
Diffstat (limited to 'sys-kernel_arch-sources-g14_files-0048-asus-nb-wmi-fix-tablet_mode_sw_int.patch')
-rw-r--r--sys-kernel_arch-sources-g14_files-0048-asus-nb-wmi-fix-tablet_mode_sw_int.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-kernel_arch-sources-g14_files-0048-asus-nb-wmi-fix-tablet_mode_sw_int.patch b/sys-kernel_arch-sources-g14_files-0048-asus-nb-wmi-fix-tablet_mode_sw_int.patch
new file mode 100644
index 000000000000..6327dc76407f
--- /dev/null
+++ b/sys-kernel_arch-sources-g14_files-0048-asus-nb-wmi-fix-tablet_mode_sw_int.patch
@@ -0,0 +1,13 @@
+diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
+index f24e002ca703..f85fec0e1b76 100644
+--- a/drivers/platform/x86/asus-nb-wmi.c
++++ b/drivers/platform/x86/asus-nb-wmi.c
+@@ -42,7 +42,7 @@ module_param(wapf, uint, 0444);
+ MODULE_PARM_DESC(wapf, "WAPF value");
+
+ static int tablet_mode_sw = -1;
+-module_param(tablet_mode_sw, uint, 0444);
++module_param(tablet_mode_sw, int, 0444);
+ MODULE_PARM_DESC(tablet_mode_sw, "Tablet mode detect: -1:auto 0:disable 1:kbd-dock 2:lid-flip");
+
+ static struct quirk_entry *quirks; \ No newline at end of file