Skip to content

Commit

Permalink
classmate-laptop: Fix extra keys hardware id.
Browse files Browse the repository at this point in the history
Since ACPI devices ids were changed to use always upper-case letters, the ACPI
id of the extra keys (FNBT0000) was not maching the one defined in the driver
(FnBT0000), causing the extra keys not to work.

The patch replaces the driver id with the one reported by ACPI, fixing the
problem.

Signed-off-by: Miguel Gómez <magomez@igalia.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
  • Loading branch information
Miguel Gómez authored and Matthew Garrett committed Jul 28, 2012
1 parent 7125587 commit 0ece8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/classmate-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct cmpc_accel {
#define CMPC_ACCEL_HID_V4 "ACCE0001"
#define CMPC_TABLET_HID "TBLT0000"
#define CMPC_IPML_HID "IPML200"
#define CMPC_KEYS_HID "FnBT0000"
#define CMPC_KEYS_HID "FNBT0000"

/*
* Generic input device code.
Expand Down

0 comments on commit 0ece8d5

Please sign in to comment.