diff options
author | Helmut Grohne <h.grohne@intenta.de> | 2016-06-03 14:15:32 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-06-08 10:36:29 +0200 |
commit | 0f84f29ff30bdb1bca23017b118b4ea3999cac32 (patch) | |
tree | 6186d77109d9dbd5ac7b42d88f0a818c3553fef3 /init | |
parent | d15d6cf91695674fbabac3b1d2c8a269d9bab5c6 (diff) | |
download | linux-0f84f29ff30bdb1bca23017b118b4ea3999cac32.tar.bz2 |
gpio: zynq: initialize clock even without CONFIG_PM
When the PM initialization was moved in the commit referenced below, the
code enabling the clock was removed from the probe function. On
CONFIG_PM=y kernels, this is not a problem as the pm resume hook enables
the clock, but when power management is disabled, all those pm_*
functions are noops and the clock is never enabled resulting in a
dysfunctional gpio controller.
Put the clock initialization back to support CONFIG_PM=n.
Cc: stable@vger.kernel.org
Signed-off-by: Helmut Grohne <h.grohne@intenta.de>
Fixes: 3773c195d387 ("gpio: zynq: Do PM initialization earlier to support gpio hogs")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions