asoc: kona: Update wsa8815 default config
With wsa883x supported in lagoon, need to set wsa8815 default config also. Change-Id: I7e247cb564c893f7fbbc715de68821c6b91d559a Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
e7efdae360
commit
f3e5ce1e66
11
asoc/kona.c
11
asoc/kona.c
@@ -81,8 +81,10 @@
|
|||||||
|
|
||||||
#define ADSP_STATE_READY_TIMEOUT_MS 3000
|
#define ADSP_STATE_READY_TIMEOUT_MS 3000
|
||||||
|
|
||||||
#define WSA8810_NAME_1 "wsa881x.20170211"
|
#define WSA8810_NAME_1 "wsa881x.1020170211"
|
||||||
#define WSA8810_NAME_2 "wsa881x.20170212"
|
#define WSA8810_NAME_2 "wsa881x.1020170212"
|
||||||
|
#define WSA8815_NAME_1 "wsa881x.1021170213"
|
||||||
|
#define WSA8815_NAME_2 "wsa881x.1021170214"
|
||||||
#define WCN_CDC_SLIM_RX_CH_MAX 2
|
#define WCN_CDC_SLIM_RX_CH_MAX 2
|
||||||
#define WCN_CDC_SLIM_TX_CH_MAX 2
|
#define WCN_CDC_SLIM_TX_CH_MAX 2
|
||||||
#define WCN_CDC_SLIM_TX_CH_MAX_LITO 3
|
#define WCN_CDC_SLIM_TX_CH_MAX_LITO 3
|
||||||
@@ -5517,6 +5519,11 @@ static int msm_int_audrx_init(struct snd_soc_pcm_runtime *rtd)
|
|||||||
WSA_MACRO_SPKR_MODE_1);
|
WSA_MACRO_SPKR_MODE_1);
|
||||||
wsa_macro_set_spkr_gain_offset(component,
|
wsa_macro_set_spkr_gain_offset(component,
|
||||||
WSA_MACRO_GAIN_OFFSET_M1P5_DB);
|
WSA_MACRO_GAIN_OFFSET_M1P5_DB);
|
||||||
|
} else if (aux_comp->name != NULL && (
|
||||||
|
!strcmp(aux_comp->name, WSA8815_NAME_1) ||
|
||||||
|
!strcmp(aux_comp->name, WSA8815_NAME_2))) {
|
||||||
|
wsa_macro_set_spkr_mode(component,
|
||||||
|
WSA_MACRO_SPKR_MODE_DEFAULT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user