Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a707edeb authored by Lv Zheng's avatar Lv Zheng Committed by Rafael J. Wysocki
Browse files

ACPI / osi: Add acpi_osi=!! to allow reverting acpi_osi=!



This patch introduces acpi_osi=!! so that quirks may use it to revert
acpi_osi=!.

Tested-by: default avatarLukas Wunner <lukas@wunner.de>
Tested-by: default avatarChen Yu <yu.c.chen@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent dbee890b
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -312,6 +312,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
			acpi_osi=!*		# remove all strings
			acpi_osi=!*		# remove all strings
			acpi_osi=!		# disable all built-in OS vendor
			acpi_osi=!		# disable all built-in OS vendor
						  strings
						  strings
			acpi_osi=!!		# enable all built-in OS vendor
						  strings
			acpi_osi=		# disable all strings
			acpi_osi=		# disable all strings


			'acpi_osi=!' can be used in combination with single or
			'acpi_osi=!' can be used in combination with single or
+3 −0
Original line number Original line Diff line number Diff line
@@ -1763,6 +1763,9 @@ void __init acpi_osi_setup(char *str)
				osi->enable = false;
				osi->enable = false;
			}
			}
			return;
			return;
		} else if (*str == '!') {
			osi_config.default_disabling = 0;
			return;
		}
		}
		enable = false;
		enable = false;
	}
	}