Skip to content

Commit b941e48

Browse files
bijudasgregkh
authored andcommitted
serial: 8250: dw: Fix the macro RZN1_UART_xDMACR_8_WORD_BURST
As per RZ/N1 peripheral user manual(r01uh0752ej0100-rzn1-peripheral.pdf) rev 1.0.0 Mar,2019, the value for 8_WORD_BURST is 4(b2,b1=2’b10). This patch fixes the macro as per the user manual. Fixes: aa63d78 ("serial: 8250: dw: Add support for DMA flow controlling devices") Reviewed-by: Phil Edworthy <[email protected]> Signed-off-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 39cdb68 commit b941e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/8250/8250_dw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#define RZN1_UART_xDMACR_DMA_EN BIT(0)
4848
#define RZN1_UART_xDMACR_1_WORD_BURST (0 << 1)
4949
#define RZN1_UART_xDMACR_4_WORD_BURST (1 << 1)
50-
#define RZN1_UART_xDMACR_8_WORD_BURST (3 << 1)
50+
#define RZN1_UART_xDMACR_8_WORD_BURST (2 << 1)
5151
#define RZN1_UART_xDMACR_BLK_SZ(x) ((x) << 3)
5252

5353
/* Quirks */

0 commit comments

Comments
 (0)