diff options
Diffstat (limited to 'arch/um/drivers/line.c')
-rw-r--r-- | arch/um/drivers/line.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index 4a3c853689a3..4ab0d9c0911c 100644 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c | |||
@@ -344,6 +344,7 @@ static irqreturn_t line_write_interrupt(int irq, void *data) | |||
344 | spin_lock(&line->lock); | 344 | spin_lock(&line->lock); |
345 | err = flush_buffer(line); | 345 | err = flush_buffer(line); |
346 | if (err == 0) { | 346 | if (err == 0) { |
347 | spin_unlock(&line->lock); | ||
347 | return IRQ_NONE; | 348 | return IRQ_NONE; |
348 | } else if (err < 0) { | 349 | } else if (err < 0) { |
349 | line->head = line->buffer; | 350 | line->head = line->buffer; |