msm: pil-riva: Fix error paths when proxy voting fails

If the proxy voting for CXO or the PLL regulator fails, we should
unwind the work to the state before the failure. Do this so that
users of the driver can recover from errors more easily.

Change-Id: I1bac71f743ef2352235be74ef4c030d27c5efa09
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
1 file changed