[PATCH v12 1/1] serial: core: Start managing serial controllers to enable runtime PM
Andy Shevchenko
andriy.shevchenko at intel.com
Mon Jun 5 04:28:07 PDT 2023
On Mon, Jun 05, 2023 at 09:15:11AM +0300, Tony Lindgren wrote:
> * Tony Lindgren <tony at atomide.com> [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
More information about the Linux-mediatek
mailing list