summaryrefslogtreecommitdiff
path: root/asoc
diff options
context:
space:
mode:
authorqctecmdr <qctecmdr@localhost>2020-07-03 21:42:49 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2020-07-03 21:42:49 -0700
commitf2575c2da4db1e4b3eab629dd7b5593613a0b5cc (patch)
tree6ea443d574def8ac6a7ecf20ea08c6421883c264 /asoc
parent344ba8d796394258b1eefb0c7c43dfbfac5c5612 (diff)
parente83115d27b0eff727fa12687485590d3aa79db23 (diff)
downloadmsm-extra-f2575c2da4db1e4b3eab629dd7b5593613a0b5cc.tar.gz
Merge "asoc: codecs: remove cancel_delayed_work_sync to avoid race condition"
Diffstat (limited to 'asoc')
-rw-r--r--asoc/codecs/wsa881x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/asoc/codecs/wsa881x.c b/asoc/codecs/wsa881x.c
index c72fcc1c..8850ea60 100644
--- a/asoc/codecs/wsa881x.c
+++ b/asoc/codecs/wsa881x.c
@@ -1609,8 +1609,6 @@ static int wsa881x_swr_down(struct swr_device *pdev)
else
wsa881x->state = WSA881X_DEV_DOWN;
- if (delayed_work_pending(&wsa881x->ocp_ctl_work))
- cancel_delayed_work_sync(&wsa881x->ocp_ctl_work);
return ret;
}