dell-laptop: Add another Dell laptop to the DMI whitelist
PATCH 1/1 dell-laptop: Add another Dell laptop to the DMI whitelist
This is to support Latitude 7480 and many other newer Dell laptops.
--- drivers/platform/x86/dell-laptop.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/platform/x86/dell-laptop.c +6 -0
@@ -109,6 +109,12 @@ static const struct dmi_system_id dell_device_table[] __initconst = { }, }, { + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), + DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /*Notebook*/ + }, + }, + { .ident ="Dell Computer Corporation" , .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
Signature · 1 line
2.10.2
Quoted 3 lines · On Thursday 16 February 2017 20:58:03 Alex Hung wrote:
This is to support Latitude 7480 and many other newer Dell laptops.
Signed-off-by Alex Hung <[email protected]>
Looks good. Maybe should be this change backported to stable?
Quoted 21 lines
--- drivers/platform/x86/dell-laptop.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/platform/x86/dell-laptop.c +6
-0@@ -109,6 +109,12 @@ static const struct dmi_system_id dell_device_table[] __initconst = { }, }, { + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), + DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /*Notebook*/ + }, + }, + { .ident ="Dell Computer Corporation" , .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),
Signature · 2 lines
Pali Rohár [email protected]
Darren Hart
AppliedQuoted 6 lines · Pali Rohár
Quoted 3 lines · On Thursday 16 February 2017 20:58:03 Alex Hung wrote:
This is to support Latitude 7480 and many other newer Dell laptops.
Signed-off-by Alex Hung <[email protected]>Looks good. Maybe should be this change backported to stable?
Applied.
I'd want to see testing on the previous kernels to ensure all the necessary support for those laptops has also been backported before sending DMI matches back. We don't want to end up with just the DMI matches in stable kernels, but inadvertently omit some functional change those machines require which have been added since the stable release.
Thanks,
Signature · 2 lines
Darren Hart Intel Open Source Technology Center