diff options
| author | Srinivasa Rao Mandadapu <[email protected]> | 2021-10-26 07:43:06 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-10-26 11:35:19 +0000 |
| commit | 864b9b5856ae74a350933782399934bdde5df989 (patch) | |
| tree | ed81d27f6f25756e0110ddb9f3ad4ed0b26e5618 /sound/soc/codecs/lpass-tx-macro.c | |
| parent | ASoC: qcom: dt-bindings: Add compatible names for lpass sc7280 digital codecs (diff) | |
| download | kernel-864b9b5856ae74a350933782399934bdde5df989.tar.gz kernel-864b9b5856ae74a350933782399934bdde5df989.zip | |
ASoC: codecs: tx-macro: Enable tx top soundwire mic clock
Enable tx path soundwire mic0 and mic1 clock.
Signed-off-by: Srinivasa Rao Mandadapu <[email protected]>
Co-developed-by: Venkata Prasad Potturu <[email protected]>
Signed-off-by: Venkata Prasad Potturu <[email protected]>
Tested-by: Srinivas Kandagatla <[email protected]>
Reviewed-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/soc/codecs/lpass-tx-macro.c')
| -rw-r--r-- | sound/soc/codecs/lpass-tx-macro.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/lpass-tx-macro.c b/sound/soc/codecs/lpass-tx-macro.c index 5dcae73b2ab8..d472af1e9ae4 100644 --- a/sound/soc/codecs/lpass-tx-macro.c +++ b/sound/soc/codecs/lpass-tx-macro.c @@ -1674,6 +1674,9 @@ static int tx_macro_component_probe(struct snd_soc_component *comp) snd_soc_component_update_bits(comp, CDC_TX0_TX_PATH_SEC7, 0x3F, 0x0A); + /* Enable swr mic0 and mic1 clock */ + snd_soc_component_update_bits(comp, CDC_TX_TOP_CSR_SWR_AMIC0_CTL, 0xFF, 0x00); + snd_soc_component_update_bits(comp, CDC_TX_TOP_CSR_SWR_AMIC1_CTL, 0xFF, 0x00); return 0; } |
