mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-10 23:12:48 +00:00
3a5584e0df
Adds latest 6.6 patches from the Raspberry Pi repository.
These patches were generated from:
https://github.com/raspberrypi/linux/commits/rpi-6.6.y/
With the following command:
git format-patch -N v6.6.67..HEAD
(HEAD -> 811ff707533bcd67cdcd368bbd46223082009b12)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit 692205305d
)
26 lines
924 B
Diff
26 lines
924 B
Diff
From 8894298105f4cb41dfa41e0b0d3c40c3f7b92c44 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Thu, 19 Sep 2024 18:22:24 +0100
|
|
Subject: [PATCH] serial: pl011: Request a memory width of 1 byte
|
|
|
|
In order to avoid losing residue bytes when a receive is terminated
|
|
early, set the destination width to single bytes.
|
|
|
|
Link: https://github.com/raspberrypi/linux/issues/6365
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
drivers/tty/serial/amba-pl011.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/tty/serial/amba-pl011.c
|
|
+++ b/drivers/tty/serial/amba-pl011.c
|
|
@@ -468,6 +468,7 @@ static void pl011_dma_probe(struct uart_
|
|
.src_addr = uap->port.mapbase +
|
|
pl011_reg_to_offset(uap, REG_DR),
|
|
.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
|
|
+ .dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
|
|
.direction = DMA_DEV_TO_MEM,
|
|
.src_maxburst = uap->fifosize >> 2,
|
|
.device_fc = false,
|