]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi: Remove calls to clk_put
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 10 May 2014 03:33:36 +0000 (22:33 -0500)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 11 Jun 2014 07:58:44 +0000 (09:58 +0200)
commit7db568b4dce4195940f3c8bcfc1e8a361d8646dd
treed27cdca4191a7017f2f71828cb99e74f49018b34
parent7da8754d1912a35fdcff17e3947fc6526060b6e9
clk: sunxi: Remove calls to clk_put

Callers of clk_put must disable the clock first. This also means that
as long as the clock is enabled the driver should hold a reference to
that clock. Hence, the call to clk_put here are bogus and should be
removed.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Emilio López <emilio@elopez.com.ar>
drivers/clk/sunxi/clk-sunxi.c