Re: [PATCH v2] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-26 Thread Linus Walleij
On Tue, Sep 23, 2014 at 10:59 PM, Josh Cartwright wrote: > By converting to the restart_notifier mechanism for restart, we allow > for other mechanisms, like the watchdog, to be used for restart in the > case where PS_HOLD has failed to reset the chip. > > Since this mechanism may be one of

Re: [PATCH v2] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-26 Thread Linus Walleij
On Tue, Sep 23, 2014 at 10:59 PM, Josh Cartwright jo...@codeaurora.org wrote: By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where PS_HOLD has failed to reset the chip. Since this mechanism may

Re: [PATCH v2] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-25 Thread Bjorn Andersson
On Thu 25 Sep 00:41 PDT 2014, Linus Walleij wrote: > On Tue, Sep 23, 2014 at 10:59 PM, Josh Cartwright > wrote: > > > By converting to the restart_notifier mechanism for restart, we allow > > for other mechanisms, like the watchdog, to be used for restart in the > > case where PS_HOLD has

Re: [PATCH v2] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-25 Thread Linus Walleij
On Tue, Sep 23, 2014 at 10:59 PM, Josh Cartwright wrote: > By converting to the restart_notifier mechanism for restart, we allow > for other mechanisms, like the watchdog, to be used for restart in the > case where PS_HOLD has failed to reset the chip. > > Since this mechanism may be one of

Re: [PATCH v2] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-25 Thread Bjorn Andersson
On Thu 25 Sep 00:41 PDT 2014, Linus Walleij wrote: On Tue, Sep 23, 2014 at 10:59 PM, Josh Cartwright jo...@codeaurora.org wrote: By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where

Re: [PATCH v2] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-25 Thread Linus Walleij
On Tue, Sep 23, 2014 at 10:59 PM, Josh Cartwright jo...@codeaurora.org wrote: By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where PS_HOLD has failed to reset the chip. Since this mechanism may

Re: [PATCH v2] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-23 Thread Guenter Roeck
On Tue, Sep 23, 2014 at 03:59:53PM -0500, Josh Cartwright wrote: > By converting to the restart_notifier mechanism for restart, we allow > for other mechanisms, like the watchdog, to be used for restart in the > case where PS_HOLD has failed to reset the chip. > > Since this mechanism may be one

[PATCH v2] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-23 Thread Josh Cartwright
By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where PS_HOLD has failed to reset the chip. Since this mechanism may be one of several mechanisms registered, change the post-ps_hold write timeout to

[PATCH v2] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-23 Thread Josh Cartwright
By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where PS_HOLD has failed to reset the chip. Since this mechanism may be one of several mechanisms registered, change the post-ps_hold write timeout to

Re: [PATCH v2] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-23 Thread Guenter Roeck
On Tue, Sep 23, 2014 at 03:59:53PM -0500, Josh Cartwright wrote: By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where PS_HOLD has failed to reset the chip. Since this mechanism may be one of