[PATCH] pinctrl: qcom: Hook pm_power_down for shutdown support
From: Linus Walleij <hidden>
Date: 2015-07-17 08:00:23
Also in:
linux-arm-msm, linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2015-07-17 08:00:23
Also in:
linux-arm-msm, linux-gpio, lkml
On Tue, Jul 7, 2015 at 3:09 AM, Stephen Boyd [off-list ref] wrote:
Assign pm_power_off() if we have the PS_HOLD functionality so that we can properly shutdown the SoC. Otherwise, shutdown won't do anything besides put the CPU into a tight loop. Unfortunately, we have to use a singleton here because pm_power_off() doesn't take any arguments. Fortunately there's only one instance of the pinctrl device on a running system so this isn't a problem. Cc: Bjorn Andersson <redacted> Cc: Pramod Gurav <redacted> Signed-off-by: Stephen Boyd <redacted>
Patch applied with Bj?rn's ACK. Yours, Linus Walleij