• Stefan Agner's avatar
    serial: fsl_lpuart: update RX timer on successful DMA transfer · 011f5bde
    Stefan Agner authored
    To end a DMA transfer which did not consume a whole buffer (e.g. one
    character only), a RX timer is used. When lots of data are received
    the DMA transfer will complete and setup another DMA transfer, which
    in turn might complete again. In this cases, it is not necessary to
    abort the DMA transfers using the RX timer. This change pushes the
    RX timer timeout into the future each time a DMA transfer completed.
    
    Aborting the DMA was not very harmful, since the next received
    character lead to setup of another RX DMA.
    Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    011f5bde
fsl_lpuart.c 48.9 KB