OSDN Git Service

serial: 8250: dw: Fix the macro RZN1_UART_xDMACR_8_WORD_BURST
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 30 Jun 2022 08:39:09 +0000 (09:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Jun 2022 15:19:11 +0000 (17:19 +0200)
commitb941e487152e0909ef43faacae6eeee266d9b378
tree24a28f70573c14e0183bd63ab58fe7a9198be57b
parent39cdb68c64d84e71a4a717000b6e5de208ee60cc
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: aa63d786cea2 ("serial: 8250: dw: Add support for DMA flow controlling devices")
Reviewed-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20220630083909.4294-1-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c