Pārlūkot izejas kodu

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

qctecmdr 4 gadi atpakaļ
vecāks
revīzija
a18ec3d3c8
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 2
      asoc/codecs/wsa881x.c

+ 0 - 2
asoc/codecs/wsa881x.c

@@ -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;
 }