clk: qcom: lahaina: Fix stuck-off warnings during probe
When clocks are registered with the framework during probe,
clk_core_hold_state() will call clk_core_prepare_enable() for clocks
already enabled in HW from bootloaders. Some clocks are failing to
actually turn on when this is called, which results in noisy warnings
printed to the kernel log.
These specific GPU clocks are failing to turn on because the required
GDSC isn't enabled yet. However, this isn't a functional issue since GPU
isn't actually being used yet. Since these clocks aren't shared across
multiple client devices, there's no need for the framework to issue a
proxy vote during registration. Thus, set the CLK_DONT_HOLD_STATE flag
for these to skip the clk_core_prepare_enable() during registration.
Change-Id: I4679de06fa903ab68e574b0be3419cdb47a16375
Signed-off-by:
Mike Tipton <mdtipton@codeaurora.org>
Loading
Please register or sign in to comment