diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-05-19 10:55:12 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 11:12:08 -0700 |
commit | e2d08f96d48dcca844ec1d50188c7a975bed1ded (patch) | |
tree | d32b4abc0444b1eeed6342983dadb950be5aa736 /drivers/pcmcia/cardbus.c | |
parent | 1b19f59dca70d802cee8a7d324c2340fdf0bd258 (diff) | |
download | blackbird-obmc-linux-e2d08f96d48dcca844ec1d50188c7a975bed1ded.tar.gz blackbird-obmc-linux-e2d08f96d48dcca844ec1d50188c7a975bed1ded.zip |
coresight: funnel: let runtime PM handle core clock
This uses runtime PM to manage the PCLK ("amba_pclk") instead
of screwing around with the framework by going in and taking
a copy from the amba device. The amba bus core will unprepare
and disable the clock when the device is unused when
CONFIG_PM is selected, else the clock will be always on.
Prior to this patch, as the AMBA primecell bus code enables
the PCLK, it would be left on after probe as
clk_disable_unprepare() was not called. Now the runtime PM
callbacks will make sure the PCLK is properly disabled
after probe.
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pcmcia/cardbus.c')
0 files changed, 0 insertions, 0 deletions