Re: [PATCH 3/6] hwrng: omap3-rom - Call clk_prepare() on init and exit only

From: Sebastian Reichel
Date: Sat Sep 14 2019 - 09:00:33 EST


On Fri, Sep 13, 2019 at 03:09:19PM -0700, Tony Lindgren wrote:
> Also, we should not call prepare and unprepare except during init, and
> only call enable and disable during use.

Why? Usually clk_(un)prepare() is the part saving most power, so I
would expect the runtime resume handlers to call clk_prepare_enable
and vice versa in the suspend handler.

-- Sebastian

Attachment: signature.asc
Description: PGP signature