tty: serial: qcom-geni-serial: split out the FIFO tx code
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 29 Dec 2022 15:50:25 +0000 (16:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 14:08:25 +0000 (15:08 +0100)
commitd420fb491cbcd948e6aa6057616a128d7697ade0
treec444c1e3b9b4e7e4c742747ed86ea72cf22d5a69
parent3931b8fdecbfc6ec901e7586e1770d73df636535
tty: serial: qcom-geni-serial: split out the FIFO tx code

qcom_geni_serial_handle_tx() is pretty big, let's move the code that
handles the actual writing of data to a separate function which makes
sense in preparation for introducing a dma variant of handle_tx().

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20221229155030.418800-10-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c