[PATCH 0/5] serial: Remove custom frame size calculation

Ilpo Järvinen posted 5 patches 3 years, 7 months ago
There is a newer version of this series
drivers/tty/serial/cpm_uart/cpm_uart_core.c | 28 ++++++---------------
drivers/tty/serial/fsl_lpuart.c             | 10 +++-----
drivers/tty/serial/serial-tegra.c           | 12 +++------
drivers/tty/serial/sunsab.c                 | 20 ++++++---------
drivers/tty/serial/ucc_uart.c               | 15 +----------
5 files changed, 22 insertions(+), 63 deletions(-)
[PATCH 0/5] serial: Remove custom frame size calculation
Posted by Ilpo Järvinen 3 years, 7 months ago
A few drivers still calculate number of frame bits on their own. As core
can do that for them these days, take advantage of core's capabilities.

Ilpo Järvinen (5):
  serial: ucc_uart: Remove custom frame size calculation
  serial: cpm_uart: Remove custom frame size calculation
  serial: fsl_lpuart: Remove custom frame size calculation
  serial: sunsab: Remove frame size calculation dead-code
  serial: tegra: Remove custom frame size calculation

 drivers/tty/serial/cpm_uart/cpm_uart_core.c | 28 ++++++---------------
 drivers/tty/serial/fsl_lpuart.c             | 10 +++-----
 drivers/tty/serial/serial-tegra.c           | 12 +++------
 drivers/tty/serial/sunsab.c                 | 20 ++++++---------
 drivers/tty/serial/ucc_uart.c               | 15 +----------
 5 files changed, 22 insertions(+), 63 deletions(-)

-- 
2.30.2

Re: [PATCH 0/5] serial: Remove custom frame size calculation
Posted by Andy Shevchenko 3 years, 7 months ago
On Thu, Aug 25, 2022 at 11:58 AM Ilpo Järvinen
<ilpo.jarvinen@linux.intel.com> wrote:
>
> A few drivers still calculate number of frame bits on their own. As core
> can do that for them these days, take advantage of core's capabilities.

For non-commented patches:
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

With small style things addressed as suggested, you may spread the tag
to them as well.

> Ilpo Järvinen (5):
>   serial: ucc_uart: Remove custom frame size calculation
>   serial: cpm_uart: Remove custom frame size calculation
>   serial: fsl_lpuart: Remove custom frame size calculation
>   serial: sunsab: Remove frame size calculation dead-code
>   serial: tegra: Remove custom frame size calculation
>
>  drivers/tty/serial/cpm_uart/cpm_uart_core.c | 28 ++++++---------------
>  drivers/tty/serial/fsl_lpuart.c             | 10 +++-----
>  drivers/tty/serial/serial-tegra.c           | 12 +++------
>  drivers/tty/serial/sunsab.c                 | 20 ++++++---------
>  drivers/tty/serial/ucc_uart.c               | 15 +----------
>  5 files changed, 22 insertions(+), 63 deletions(-)
>
> --
> 2.30.2
>


-- 
With Best Regards,
Andy Shevchenko