clk: qcom: gdsc-regulator: Add support to skip GDSC disable

Add check to skip gdsc disable when disable call comes before
the gdsc enable. In case if the gdsc is enabled by entity external
to HLOS then skip disable call.

Change-Id: I14ba8a24fb4403a1805cba23967bb22a82ac6e7f
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2 files changed