Merge "asoc: codecs: remove cancel_delayed_work_sync to avoid race condition"

This commit is contained in:
qctecmdr 2020-07-10 01:59:34 -07:00 • committed by Gerrit - the friendly Code Review server
commit a18ec3d3c8

View file

@ -1614,8 +1614,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;
}