Re: [PATCH] regulator: core: remove lockdep assert from suspend_prepare

From: Tero Kristo
Date: Mon Apr 18 2016 - 10:14:24 EST


On 18/04/16 14:59, Mark Brown wrote:
On Mon, Apr 18, 2016 at 02:49:53PM +0300, Tero Kristo wrote:

suspend_prepare can be called during regulator init time also, where

It can be? That seems unexpected...


regulator_register()
-> set_machine_constraints()
-> suspend_prepare()

Called if you have setup initial_state for the regulator.

-Tero