Re: [PATCH V4 07/26] coresight: moving PM runtime operations to core framework

From: Linus Walleij
Date: Sun Nov 22 2015 - 07:15:50 EST


On Fri, Nov 13, 2015 at 7:44 PM, Mathieu Poirier
<mathieu.poirier@xxxxxxxxxx> wrote:

> Moving PM runtime operations in Coresight devices enable() and
> disable() API to the framework core when a path is setup. That
> way the runtime core doesn't have to be involved everytime a
> path is enabled. It also avoids calling runtime PM operations
> in IRQ context.
>
> Signed-off-by: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>

Looks reasonable. The PM runtime part of coresight is not very
aggressive anyways, and I think the most important thing it does
is assure it does not consume any power (clocks etc) when it's
not in use.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/