[PATCH v12 1/1] serial: core: Start managing serial controllers to enable runtime PM

Tony Lindgren tony at atomide.com
Mon Jun 5 05:25:11 PDT 2023


* Andy Shevchenko <andriy.shevchenko at intel.com> [230605 11:28]:
> 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.

OK makes sense thanks.

Tony



More information about the Linux-mediatek mailing list