asoc: codec: wcd937x: update the codec RX clk

update the codec digital RX clk rate to 9P6MHZ or
11P2896MHz depends on usecase.

Change-Id: I1c7167c10ef8bcdba876be265ef90d980f822d03
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
This commit is contained in:
Prasad Kumpatla
2024-02-12 14:36:15 +05:30
parent 4ffc5de553
commit b8b3fca8aa

View File

@@ -1832,6 +1832,11 @@ static int wcd937x_event_notify(struct notifier_block *block,
}
wcd937x->mbhc->wcd_mbhc.deinit_in_progress = false;
break;
case BOLERO_SLV_EVT_CLK_NOTIFY:
snd_soc_component_update_bits(component,
WCD937X_DIGITAL_TOP_CLK_CFG, 0x06,
((val >> 0x10) << 0x01));
break;
default:
dev_err(component->dev, "%s: invalid event %d\n", __func__,
event);