diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 1538a0a3c0af..36e5dc6fc953 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c | |||
@@ -2107,7 +2107,7 @@ static int sonypi_misc_open(struct inode *inode, struct file *file) | |||
2107 | spin_lock_irqsave(&sonypi_compat.fifo_lock, flags); | 2107 | spin_lock_irqsave(&sonypi_compat.fifo_lock, flags); |
2108 | 2108 | ||
2109 | if (atomic_inc_return(&sonypi_compat.open_count) == 1) | 2109 | if (atomic_inc_return(&sonypi_compat.open_count) == 1) |
2110 | __kfifo_reset(&sonypi_compat.fifo); | 2110 | kfifo_reset(&sonypi_compat.fifo); |
2111 | 2111 | ||
2112 | spin_unlock_irqrestore(&sonypi_compat.fifo_lock, flags); | 2112 | spin_unlock_irqrestore(&sonypi_compat.fifo_lock, flags); |
2113 | 2113 | ||