aboutsummaryrefslogtreecommitdiff
path: root/sound/mips/hal2.c
diff options
context:
space:
mode:
authorAndrey Smirnov2019-07-29 12:52:11 -0700
committerGreg Kroah-Hartman2019-09-04 12:43:47 +0200
commit93b9523a8e72e33388e1adeb4ca4ac3dbf614c82 (patch)
tree37f960f3513dd07b3c8afb6d9a3bdbc89a0d9431 /sound/mips/hal2.c
parent15dd287b28b959d6c16d2f7e49aab75a80749ec8 (diff)
tty: serial: fls_lpuart: Split shared TX IRQ handler into two
While sharing code for Tx interrupt handler between 8 and 32 bit variant of the peripheral saves a bit of code duplication it also adds quite a number of lpuart_is_32() checks which makes it harder to understand. Move shared bits back into corresponding lpuart*_transmit_buffer functions, split lpuart_txint into lpuart_txint and lpuart32_txint so we can drop all extra lpuart_is_32() check and make the code flow more linear. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Stefan Agner <stefan@agner.ch> Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Cc: Chris Healy <cphealy@gmail.com> Cc: Cory Tusar <cory.tusar@zii.aero> Cc: Lucas Stach <l.stach@pengutronix.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.com> Cc: linux-imx@nxp.com Cc: linux-serial@vger.kernel.org Cc: linux-kernel@vger.kernel.org Link: https://lore.kernel.org/r/20190729195226.8862-10-andrew.smirnov@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/mips/hal2.c')
0 files changed, 0 insertions, 0 deletions