commit | 33ddca08bf9d68086e3e9ad6bef06ce881777894 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Thu Sep 08 15:03:24 2016 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 15 12:35:49 2016 +0200 |
tree | 287b2a273a775a9a5b417c5eaa675d3b52f585e2 | |
parent | c164b008b62720fda072b55c378d32da3260f271 [diff] |
tty: serial: fsl_lpuart: use GFP_ATOMIC under spin lock The function lpuart_start_rx_dma() is called from several places, in some of which, such as lpuart_startup(), a lock be held here, so we should use GFP_ATOMIC when a lock is held. Fixes: 5887ad43ee02 ("tty: serial: fsl_lpuart: Use cyclic DMA for Rx") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>