summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@imgtec.com>2015-07-27 17:00:12 +0300
committerRalf Baechle <ralf@linux-mips.org>2015-09-03 13:08:05 +0300
commiteb811c73b69f18cefb7a63f22fe07212c6575650 (patch)
treeae72d2ac745def91f5edc69991b3a2d8a20af23e /init
parent1a3d59579b9f436da038f377309cf2270c76318e (diff)
downloadlinux-eb811c73b69f18cefb7a63f22fe07212c6575650.tar.xz
CLOCKSOURCE: mips-gic: Enable the clock before using it
For the clock to be used (e.g. get its rate through clk_get_rate) it should be prepared and enabled first. Also, while the clock is enabled the driver must hold a reference to it, so let's remove the call to clk_put. Reviewed-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: linux-kernel@vger.kernel.org Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Cc: Thomas Gleixner <tglx@linutronix.de> Cc: James Hartley <James.Hartley@imgtec.com> Cc: Govindraj Raja <Govindraj.Raja@imgtec.com> Cc: Damien Horsley <Damien.Horsley@imgtec.com> Cc: James Hogan <James.Hogan@imgtec.com> Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Patchwork: https://patchwork.linux-mips.org/patch/10779/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions