On Mon, Jun 05, 2023 at 09:15:11AM +0300, Tony Lindgren wrote: > * Tony Lindgren <tony@xxxxxxxxxxx> [230603 06:35]: ... > /* wait until UART in idle status */ > while > - (serial_in(up, MTK_UART_DEBUG0)); > + (mtk8250_read(data, MTK_UART_DEBUG0)); In case you go with this, make it a single line. -- With Best Regards, Andy Shevchenko