serial: omap8250: Simplify rx dma completion interface
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Apr 2016 05:14:35 +0000 (22:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
commitb74fdd23d8fb4e349185ed9d963da8fc2b6eb34c
treea4b648006e775c9cdcc61ff89b5409eb065f2c5b
parented183ee689058775b24021272c3a01d356fe8e2e
serial: omap8250: Simplify rx dma completion interface

Extract the operation (restarting new rx dma) performed when error
argument is true.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c