dsp: Reset ec ref port id after use
Reset ec ref port id to invalid port after use to ensure it is not picked for other adm sessions. Change-Id: I802326122ad6dc63c7f2df16169da3f50559202f Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
f57dd4262b
commit
757f0d29a2
@@ -3099,6 +3099,7 @@ int adm_open(int port_id, int path, int rate, int channel_mode, int topology,
|
|||||||
if (this_adm.num_ec_ref_rx_chans != 0) {
|
if (this_adm.num_ec_ref_rx_chans != 0) {
|
||||||
open_v8.endpoint_id_2 =
|
open_v8.endpoint_id_2 =
|
||||||
this_adm.ec_ref_rx;
|
this_adm.ec_ref_rx;
|
||||||
|
this_adm.ec_ref_rx = AFE_PORT_INVALID;
|
||||||
} else {
|
} else {
|
||||||
pr_err("%s: EC channels not set %d\n",
|
pr_err("%s: EC channels not set %d\n",
|
||||||
__func__,
|
__func__,
|
||||||
|
|||||||
Reference in New Issue
Block a user