summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2019-12-12 18:56:35 +0800
committerShengjiu Wang <shengjiu.wang@nxp.com>2019-12-12 19:01:44 +0800
commit8742e3e58e3ffbd402eb546d7b77586e1aced922 (patch)
tree181ef7dc687400168e8631cd5399d6c65a35be5c /sound
parentd2fdbfd831a950b315c43bf92ac9d5eaefdcd83b (diff)
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/fsl_rpmsg_i2s.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_rpmsg_i2s.c b/sound/soc/fsl/fsl_rpmsg_i2s.c
index 53b77b002e64..2143dbb24664 100644
--- a/sound/soc/fsl/fsl_rpmsg_i2s.c
+++ b/sound/soc/fsl/fsl_rpmsg_i2s.c
@@ -370,7 +370,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];