sony-laptop: fix scancode decode
compare against the sony_laptop specific event list index to decode the input scancode to send. Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
3eb8749a37
commit
fccd5d00ba
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ static void sony_laptop_report_input_event(u8 event)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (event > ARRAY_SIZE (sony_laptop_input_keycode_map)) {
|
if (event > ARRAY_SIZE(sony_laptop_input_index)) {
|
||||||
dprintk("sony_laptop_report_input_event, event not known: %d\n", event);
|
dprintk("sony_laptop_report_input_event, event not known: %d\n", event);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue