diff options
Diffstat (limited to 'drivers/platform/x86/fujitsu-laptop.c')
-rw-r--r-- | drivers/platform/x86/fujitsu-laptop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index 13dc7bedcfc..b66029bd75d 100644 --- a/drivers/platform/x86/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c | |||
@@ -1006,7 +1006,7 @@ static void acpi_fujitsu_hotkey_notify(struct acpi_device *device, u32 event) | |||
1006 | vdbg_printk(FUJLAPTOP_DBG_TRACE, | 1006 | vdbg_printk(FUJLAPTOP_DBG_TRACE, |
1007 | "Push keycode into ringbuffer [%d]\n", | 1007 | "Push keycode into ringbuffer [%d]\n", |
1008 | keycode); | 1008 | keycode); |
1009 | status = kfifo_put_locked(&fujitsu_hotkey->fifo, | 1009 | status = kfifo_in_locked(&fujitsu_hotkey->fifo, |
1010 | (unsigned char *)&keycode, | 1010 | (unsigned char *)&keycode, |
1011 | sizeof(keycode), | 1011 | sizeof(keycode), |
1012 | &fujitsu_hotkey->fifo_lock); | 1012 | &fujitsu_hotkey->fifo_lock); |
@@ -1020,7 +1020,7 @@ static void acpi_fujitsu_hotkey_notify(struct acpi_device *device, u32 event) | |||
1020 | } | 1020 | } |
1021 | } else if (keycode == 0) { | 1021 | } else if (keycode == 0) { |
1022 | while ((status = | 1022 | while ((status = |
1023 | kfifo_get_locked( | 1023 | kfifo_out_locked( |
1024 | &fujitsu_hotkey->fifo, | 1024 | &fujitsu_hotkey->fifo, |
1025 | (unsigned char *) &keycode_r, | 1025 | (unsigned char *) &keycode_r, |
1026 | sizeof(keycode_r), | 1026 | sizeof(keycode_r), |