asoc: lpass-cdc: Enable compile lpass-cdc
Update lpass-cdc to compile on 5.10 kernel Change-Id: I0782c2f80531aa798794a8a4140a0b77bca7c9b1 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
e3ab630202
commit
9e61f25f98
@@ -1155,9 +1155,9 @@ static int lpass_cdc_soc_codec_probe(struct snd_soc_component *component)
|
||||
}
|
||||
|
||||
/* Assign lpass_cdc version */
|
||||
core_id_0 = snd_soc_component_read32(component,
|
||||
core_id_0 = snd_soc_component_read(component,
|
||||
LPASS_CDC_VA_TOP_CSR_CORE_ID_0);
|
||||
core_id_1 = snd_soc_component_read32(component,
|
||||
core_id_1 = snd_soc_component_read(component,
|
||||
LPASS_CDC_VA_TOP_CSR_CORE_ID_1);
|
||||
if ((core_id_0 == 0x01) && (core_id_1 == 0x0F))
|
||||
priv->version = LPASS_CDC_VERSION_2_0;
|
||||
|
Reference in New Issue
Block a user