diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-07 03:09:30 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-07-17 09:59:36 +0200 |
commit | ad64498762dd6f262f8c7c37926cd56693e109ba (patch) | |
tree | 7494f560b77e218c7d0e4ccb0702c28f8e362fdf /drivers/md | |
parent | pinctrl: sirf: Drop owner assignment from platform_driver (diff) | |
download | linux-ad64498762dd6f262f8c7c37926cd56693e109ba.tar.xz linux-ad64498762dd6f262f8c7c37926cd56693e109ba.zip |
pinctrl: qcom: Hook pm_power_down for shutdown support
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: Pramod Gurav <pramod.gurav@smartplayin.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions