Skip to content
Commit 70dd6bea authored by Jean Delvare's avatar Jean Delvare
Browse files

hwmon: (asus_atk0110) Don't load if ACPI resources aren't enforced



When the user passes the kernel parameter acpi_enforce_resources=lax,
the ACPI resources are no longer protected, so a native driver can
make use of them. In that case, we do not want the asus_atk0110 to be
loaded. Unfortunately, this driver loads automatically due to its
MODULE_DEVICE_TABLE, so the user ends up with two drivers loaded for
the same device - this is bad.

So I suggest that we prevent the asus_atk0110 driver from loading if
acpi_enforce_resources=lax.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarLuca Tettamanti <kronos.it@gmail.com>
Cc: Len Brown <lenb@kernel.org>
parent 31f46717
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment