msm: pil-gss: Enable CXO in secure shutdown to ensure PLL5 locks

If the GSS has been booted and is in the process of being
shutdown it's possible the processor has moved off of PLL5. When
shutting down we switch the GSS clock to PLL5 to achieve the
lower possible power state. For the PLL to lock we must have CXO
enabled or the PLL will spin forever waiting to lock.

Similarly for the shutdown call at boot time, PLL5 has most
likely never been enabled and to switch the lowest possible power
state PLL5 must be turned on. Without CXO on the PLL won't lock.

Fortunately CXO is properly enabled in the non-secure case, but
the secure case is missing it. Enable CXO in the secure case so
that the PLL locks correctly.

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