LF-215-2: ASoC: fsl_rpmsg_i2s: Fix suspend failure in free run mode
As we enabled WQ_FREEZABLE for workqueue, flush_workqueue in suspend stage will not success, for the workqueue is freezed. flush_workqueue in suspend is a wrong operation with WQ_FREEZABLE, so remove it. Fixes: 5b07f684deb1 ("LF-215: ASoC: fsl_rpmsg_i2s: Enable WQ_FREEZABLE for workqueue") Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
e2b36118ed
commit
98f77072a7
|
@ -367,7 +367,6 @@ static int fsl_rpmsg_i2s_suspend(struct device *dev)
|
|||
struct i2s_rpmsg *rpmsg_tx;
|
||||
struct i2s_rpmsg *rpmsg_rx;
|
||||
|
||||
flush_workqueue(i2s_info->rpmsg_wq);
|
||||
rpmsg_tx = &i2s_info->rpmsg[I2S_TX_SUSPEND];
|
||||
rpmsg_rx = &i2s_info->rpmsg[I2S_RX_SUSPEND];
|
||||
|
||||
|
|
Loading…
Reference in New Issue