msm: clock-rpm: Support clock dependencies for enable/disable

In order to do this, we must fix up rpm_clk_enable() to properly
roll back RPM calls in the event of errors.  Otherwise, the
dependency could be disabled while an RPM clock needing it is
still enabled.

Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
4 files changed