msm: clock-local: Fix handoffs of clocks with multiple clk_lookup entries

Handoffs should only be performed for the first entry of each
hardware clock encountered in the clk_lookup table. Otherwise,
the clock will be stuck on due to an imbalance in the clk_enable()
and clk_disable() calls associated with CLKFLAG_HANDOFF_RATE.

Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
1 file changed