Commit a0428578 authored by JP Abgrall's avatar JP Abgrall
Browse files

serial: samsung: fix leaked requested irq



The s3c64xx_serial_startup() requests an IRQ, but the common
s3c24xx_serial_shutdown() would not free it.

s3c64xx_serial_startup() is used when
s3c24xx_serial_has_interrupt_mask(port) is true, at which point
  ourport->rx_claimed = ourport->tx_claimed = 1
so we only need to free in one of the claimed cases.

Change-Id: I8e17ce52cf48dbf3faa26ac24c8a71f016771f32
Signed-off-by: default avatarJP Abgrall <jpa@google.com>
parent 26cd0da8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment