From: Josh Cartwright Date: Tue, 23 Sep 2014 20:59:53 +0000 (-0500) Subject: pinctrl: qcom: use restart_notifier mechanism for ps_hold X-Git-Tag: fixes-for-v3.18-merge-window~33^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf1fc187628913070c3e418ce0e205732435aa2f;p=pandora-kernel.git pinctrl: qcom: use restart_notifier mechanism for ps_hold 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 be a more reasonable 1 second instead of 10 seconds. Choose priority 128, as according to documentation, this mechanism "is sufficient to restart the entire system". Tested-by: Pramod Gurav Signed-off-by: Josh Cartwright Acked-by: Bjorn Andersson Reviewed-by: Guenter Roeck Signed-off-by: Linus Walleij --- Reading git-diff-tree failed