Re: [PATCH v12 1/1] serial: core: Start managing serial controllers to enable runtime PM
From: Andy Shevchenko
Date: Mon Jun 05 2023 - 07:28:23 EST
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