Merge "soc: swr-mstr: fix noise issue with mono speaker"

This commit is contained in:
Linux Build Service Account
2018-09-03 12:15:16 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -725,7 +725,7 @@ static void swrm_cleanup_disabled_port_reqs(struct swr_master *master)
continue;
/* remove new ch req's*/
port_req->req_ch = port_req->ch_en;
port_req->ch_en = port_req->req_ch;
/* If no streams enabled on port, remove the port req */
if (port_req->ch_en == 0) {
@@ -734,7 +734,7 @@ static void swrm_cleanup_disabled_port_reqs(struct swr_master *master)
}
}
/* remove new ch req's on mport*/
mport->req_ch = mport->ch_en;
mport->ch_en = mport->req_ch;
if (!(mport->ch_en)) {
mport->port_en = false;