diff options
author | Rich Felker <dalias@libc.org> | 2016-01-08 21:33:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-07 07:56:43 +0100 |
commit | 9e370d2c9f59a63dda0ced3ecd1b55498d97c449 (patch) | |
tree | 12c0f8218b6e7f8c29648cc9ab2552be3e23a7bb /arch/arm/mach-omap2/serial.c | |
parent | serial-uartlite: add earlycon support (diff) | |
download | linux-9e370d2c9f59a63dda0ced3ecd1b55498d97c449.tar.xz linux-9e370d2c9f59a63dda0ced3ecd1b55498d97c449.zip |
serial-uartlite: fix missing locking in isr
The uartlite driver suffers from missing/duplicate/corrupted character
data when the interrupt handler runs concurrently with access to the
device from another cpu. Take the port spinlock to exclude concurrent
access.
Signed-off-by: Rich Felker <dalias@libc.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
0 files changed, 0 insertions, 0 deletions