Re: [PATCH] serial: core: Fix checks for tx runtime PM state
From: Andy Shevchenko
Date: Fri Oct 06 2023 - 04:30:31 EST
On Fri, Oct 06, 2023 at 10:27:38AM +0300, Tony Lindgren wrote:
> * Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> [231005 12:01]:
> > On Thu, Oct 05, 2023 at 10:56:42AM +0300, Tony Lindgren wrote:
> > > The serdev device and the serial core controller devices are siblings of
> > > the serial port hardware device. The runtime PM usage count from serdev
> >
> > I'm a bit lost in terminology here.
> > AFAIU there are:
> > 1) children of the serial physical device;
> > 2) siblings (to each other).
> >
> > But may be I mistakenly deciphered the diagram from the previous discussion.
>
> You're right, so how about:
>
> The serdev device and the serial core controller devices are children of
> the serial port hardware device. The runtime PM usage count from serdev
> device does not propagate to the serial core device siblings, it only
> propagates to the parent.
Clearer, thank you!
--
With Best Regards,
Andy Shevchenko