Re: [PATCH] serial: core: Start managing serial controllers to enable runtime PM

From: Tony Lindgren
Date: Mon Apr 11 2022 - 10:02:38 EST


* Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> [220411 13:26]:
> On Mon, Apr 11, 2022 at 03:02:18PM +0300, Tony Lindgren wrote:
> > unsigned char hub6; /* this should be in the 8250 driver */
> > unsigned char suspended;
> > unsigned char console_reinit;
> > + unsigned long supports_autosuspend:1;
>
> Hmm... Maybe use unsigned char and convert all of them to something else if needed?

Sorry forgot to reply to this. This can be unsigned char no problem.
Most of the runtime PM related flags are in the struct serial_controller
anyways now.

Regards,

Tony