diff options
| author | Tudor Ambarus <tudor.ambarus@linaro.org> | 2024-01-19 13:45:24 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-28 06:05:19 +0300 |
| commit | 6e1e48b6ef2613ff4c28a34f7a57c29a4367ad87 (patch) | |
| tree | 3cfab20fa8597445ef23e80d5e66a271e4f5c825 /include | |
| parent | 92e32ed303a6c4dc5a5ad9ec54785a6245bcd8fa (diff) | |
| download | linux-6e1e48b6ef2613ff4c28a34f7a57c29a4367ad87.tar.xz | |
tty: serial: samsung: shrink the clock selection to 8 clocks
<linux/serial_s3c.h> provides a clock selection pool of maximum 4 clocks.
Update the driver to consider a pool selection of maximum 8 clocks.
u8 is large enough to allow more clocks than are supported by the driver
now, and not too big to cause spanning of ``struct s3c24xx_uart_info``
through 2 cachelines when compiled for arm64. The goal is to reduce the
memory footprint of ``struct s3c24xx_uart_info``.
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20240119104526.1221243-18-tudor.ambarus@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
