Commit 7b953b11 authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

msm: clock-pll: Use a timeout when enabling voteable PLLs



Instead of waiting infinitely for a PLL to enable,
use a timeout mechanism that returns an error code
if that voteable PLL doesn't activate its output
in time.

This will especially help if PLLs are incorrectly
configured and cannot turn on during bootup. Rather
than the device hanging forever, the kernel log
will contain a WARN stack and the caller will
know that the PLL didn't enable.

Change-Id: I4eab4b72da7c28866f033b50121c8265c9d432ad
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent d5247660
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment