asoc: bolero: Add va/tx macro registers for bolero 2.1
Update VA/TX macro registers for bolero 2.1
Change-Id: I6be9632407c85a36bc746c65b34a52812548ad2a
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
diff --git a/asoc/codecs/bolero/tx-macro.c b/asoc/codecs/bolero/tx-macro.c
index d27a5cf..dabf4c1 100644
--- a/asoc/codecs/bolero/tx-macro.c
+++ b/asoc/codecs/bolero/tx-macro.c
@@ -2834,6 +2834,13 @@
tx_macro_reg_init[i].mask,
tx_macro_reg_init[i].val);
+ if (tx_priv->version == BOLERO_VERSION_2_1)
+ snd_soc_component_update_bits(component,
+ BOLERO_CDC_VA_TOP_CSR_SWR_CTRL, 0xF0, 0xA0);
+ else if (tx_priv->version == BOLERO_VERSION_2_0)
+ snd_soc_component_update_bits(component,
+ BOLERO_CDC_TX_TOP_CSR_SWR_CTRL, 0xF0, 0xA0);
+
return 0;
}