diff options
author | Thomas Courbon <thcourbon@gmail.com> | 2011-07-20 16:57:44 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-08-05 15:21:48 -0400 |
commit | 78a7539b881eb557494a7c810625c0307b27296c (patch) | |
tree | e8e4e4921de24e790680ba43dde2cabe413e01a5 /drivers | |
parent | f1566f0dc07ec9b5409b348070f5a700032d7881 (diff) |
Platform: fix samsung-laptop DMI identification for N150/N210/220/N230
Some samsung latop of the N150/N2{10,20,30} serie are badly detected by the samsung-laptop platform driver, see bug # 36082.
It appears that N230 identifies itself as N150/N210/N220/N230 whereas the other identify themselves as N150/N210/220.
This patch attemtp fix #36082 allowing correct identification for all the said netbook model.
Reported-by: Daniel Eklöf <daniel@ekloef.se>
Signed-off-by: Thomas Courbon <thcourbon@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/platform/x86/samsung-laptop.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index e12c88e92c4e..359163011044 100644 --- a/drivers/platform/x86/samsung-laptop.c +++ b/drivers/platform/x86/samsung-laptop.c | |||
@@ -611,6 +611,16 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = { | |||
611 | .callback = dmi_check_cb, | 611 | .callback = dmi_check_cb, |
612 | }, | 612 | }, |
613 | { | 613 | { |
614 | .ident = "N150/N210/N220", | ||
615 | .matches = { | ||
616 | DMI_MATCH(DMI_SYS_VENDOR, | ||
617 | "SAMSUNG ELECTRONICS CO., LTD."), | ||
618 | DMI_MATCH(DMI_PRODUCT_NAME, "N150/N210/N220"), | ||
619 | DMI_MATCH(DMI_BOARD_NAME, "N150/N210/N220"), | ||
620 | }, | ||
621 | .callback = dmi_check_cb, | ||
622 | }, | ||
623 | { | ||
614 | .ident = "N150/N210/N220/N230", | 624 | .ident = "N150/N210/N220/N230", |
615 | .matches = { | 625 | .matches = { |
616 | DMI_MATCH(DMI_SYS_VENDOR, | 626 | DMI_MATCH(DMI_SYS_VENDOR, |