diff options
Diffstat (limited to 'src/soc/intel/skylake/nhlt/max98373.c')
-rw-r--r-- | src/soc/intel/skylake/nhlt/max98373.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/soc/intel/skylake/nhlt/max98373.c b/src/soc/intel/skylake/nhlt/max98373.c index 5f4d15ee25..9c02bb7e3f 100644 --- a/src/soc/intel/skylake/nhlt/max98373.c +++ b/src/soc/intel/skylake/nhlt/max98373.c @@ -81,8 +81,14 @@ static const struct nhlt_endp_descriptor max98373_descriptors[] = { }, }; -int nhlt_soc_add_max98373(struct nhlt *nhlt, int hwlink) +int nhlt_soc_add_max98373(struct nhlt *nhlt, int hwlink, int render_slot, + int feedback_slot) { + render_config.tdm_config.virtual_slot = render_slot; + render_config.feedback_virtual_slot = feedback_slot; + capture_config.tdm_config.virtual_slot = feedback_slot; + capture_config.feedback_virtual_slot = render_slot; + /* Virtual bus id of SSP links are the hardware port ids proper. */ return nhlt_add_ssp_endpoints(nhlt, hwlink, max98373_descriptors, ARRAY_SIZE(max98373_descriptors)); |