clk: qcom: gdsc: WARN when failing to toggle
authorBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 4 May 2019 00:17:36 +0000 (17:17 -0700)
committerStephen Boyd <sboyd@kernel.org>
Fri, 7 Jun 2019 20:19:30 +0000 (13:19 -0700)
commitf02fba3aa8feeee0a9f9c82c6db2ae9dda7825cd
treed95a3bfd6b6f8ac4da57cdbdc27135336a6cdc6f
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
clk: qcom: gdsc: WARN when failing to toggle

Failing to toggle a GDSC as the driver core is attaching the
power-domain to a device will cause a silent probe deferral. Provide an
explicit warning to the developer, in order to reduce the amount of time
it takes to debug this.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org>
Tested-by: Jeffrey Hugo <jhugo@codeaurora.org>
Reviewed-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gdsc.c