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

Commit 4fbd1514 authored by Yann Droneaud's avatar Yann Droneaud Committed by Len Brown
Browse files

[ACPI] check acpi_disabled in IPMI

parent a18ecf41
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1484,6 +1484,9 @@ static int try_init_acpi(int intf_num, struct smi_info **new_info)
	char             *io_type;
	u8 		 addr_space;

	if (acpi_disabled)
		return -ENODEV;

	if (acpi_failure)
		return -ENODEV;