On Fri, Nov 04, 2022 at 08:28:22PM +0100, Lukas Wunner wrote:
On Fri, Nov 04, 2022 at 10:55:28AM -0400, Sasha Levin wrote:
This is a note to let you know that I've just added the patch titled
serial: ar933x: Deassert Transmit Enable on ->rs485_config()
to the 5.15-stable tree
That doesn't work I'm afraid.
To make the patch apply cleanly, you've also added upstream commit
184842622c97 ("serial: ar933x: Remove superfluous code in
ar933x_config_rs485()") to the patch queue.
However that patch assumes that port->rs485_supported exists and
that's not the case with v5.15.77. It compiles, but it will behave
wrongly.
You either need to add the following to the patch queue as well:
8925c31c1ac2 ("serial: Add rs485_supported to uart_port")
0139da50dc53 ("serial: Embed rs485_supported to uart_port")
e849145e1fdd ("serial: ar933x: Fill in rs485_supported")
Or alternatively take the backport included below.
Same for v5.10-stable.
I took your backport for 5.15 and 5.10, thank you!
--
Thanks,
Sasha