clk: qcom: Use setbits_le32() for qcom_gate_clk_en()
authorStephan Gerhold <stephan.gerhold@linaro.org>
Thu, 24 Apr 2025 09:16:43 +0000 (11:16 +0200)
committerCasey Connolly <casey.connolly@linaro.org>
Mon, 2 Jun 2025 16:20:15 +0000 (18:20 +0200)
commit94e57ba2011b4bb96c0714e02a5056bc0c7f87d0
treee876e9a02121a4969c752915b7e5ccab627fe2b7
parent409da8c4935338743b054e7c82f463c4a1c538e0
clk: qcom: Use setbits_le32() for qcom_gate_clk_en()

The other clock enable functions in clock-qcom.c use setbits_le32() to
read/modify/write the enable registers. Use the same for qcom_gate_clk_en()
to simplify the code a bit.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Reviewed-by: Casey Connolly <casey.connolly@linaro.org>
Link: https://lore.kernel.org/r/20250424-apq8016-clock-fixes2-v2-3-fcc371c9e45f@linaro.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
drivers/clk/qcom/clock-qcom.c