mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
ARM: tegra: clock: Fix warning
Change-Id: I2c175f65b7e7db234f7317e7c51aeea65d33d555
This commit is contained in:
@@ -871,7 +871,7 @@ static int tegra2_periph_clk_enable(struct clk *c)
|
||||
|
||||
tegra_periph_clk_enable_refcount[c->u.periph.clk_num]++;
|
||||
if (tegra_periph_clk_enable_refcount[c->u.periph.clk_num] > 1)
|
||||
return;
|
||||
return 0;
|
||||
|
||||
clk_writel(PERIPH_CLK_TO_ENB_BIT(c),
|
||||
CLK_OUT_ENB_SET + PERIPH_CLK_TO_ENB_SET_REG(c));
|
||||
|
||||
Reference in New Issue
Block a user