[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190930121440.GC13301@lunn.ch>
Date: Mon, 30 Sep 2019 14:14:40 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Oleksandr Suvorov <oleksandr.suvorov@...adex.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Marcel Ziswiler <marcel.ziswiler@...adex.com>,
Jamie Lentin <jm@...tin.co.uk>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
Igor Opaniuk <igor.opaniuk@...adex.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Sebastian Reichel <sre@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>
Subject: Re: [PATCH 0/2] This patch introduces a feature to force
gpio-poweroff module
On Mon, Sep 30, 2019 at 10:35:36AM +0000, Oleksandr Suvorov wrote:
> to register its own pm_power_off handler even if someone has registered
> this handler earlier.
> Useful to change a way to power off the system using DT files.
Hi Oleksandr
I'm not sure this is a good idea. What happens when there are two
drivers using forced mode? You then get which ever is register last.
Non deterministic behaviour.
What is the other driver which is causing you problems? How is it
getting probed? DT?
Thanks
Andrew
Powered by blists - more mailing lists