]> git.baikalelectronics.ru Git - kernel.git/commit
soundwire: qcom: Add flag for software clock gating check
authorSrinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Fri, 1 Jul 2022 07:17:06 +0000 (12:47 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 6 Jul 2022 07:07:23 +0000 (12:37 +0530)
commit7c72079c973eb71768ab1a7ee9b4c08b835103de
treeecd02206dc86315efdfd17341431e0b93b9ae086
parent3143ee6fedb87104784aa95cedf4749a3db8c659
soundwire: qcom: Add flag for software clock gating check

Validate software clock gating required or not and do software
clock gating on hclk if soundwire is operational and keep it
running by adding flag in private data structure.
This is to avoid conflict between older architectures,
where software clock gating is not required and on latest
architectures, where software clock gating is mandatory.

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/1656659827-27450-2-git-send-email-quic_srivasam@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/qcom.c