summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6dl-pinfunc.h
diff options
context:
space:
mode:
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>2016-12-04 18:49:28 +0300
committerStefan Agner <stefan@agner.ch>2018-06-04 17:33:34 +0200
commitc40abcef423ca42ebe3d629e131ed5df20632e33 (patch)
tree0e7ee7c9e9808b0ff58001ca564c6c7ff935ffd9 /arch/arm/boot/dts/imx6dl-pinfunc.h
parentfdd5ac219ee5a69c8c722b4f2162804d59e71cc6 (diff)
tty: serial: fsl_lpuart: fix del_timer_sync() vs timer routine deadlock
Problem found via lockdep: - lpuart_set_termios() calls del_timer_sync(&sport->lpuart_timer) while holding sport->port.lock - sport->lpuart_timer routine is lpuart_timer_func() that calls lpuart_copy_rx_to_tty() that acquires same lock. To fix, move Rx DMA stopping out of lock, as it already is in other places in the same file. While at it, also make Rx DMA start/stop code to look the same is in other places in the same file. Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com> Tested-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 54a44d54be3a7394ebea42bbffd67819e0f3f89a)
Diffstat (limited to 'arch/arm/boot/dts/imx6dl-pinfunc.h')
0 files changed, 0 insertions, 0 deletions