workqueue: deprecate flush[_delayed]_work_sync()
[linux-block.git] / sound / soc / codecs / wm8350.c
index d26c8ae4e6d937f8ccd856e6e7b9dbb2e0adcaab..a4cae060bf2626de702f88c4b62dee0e3f110860 100644 (file)
@@ -1601,7 +1601,7 @@ static int  wm8350_codec_remove(struct snd_soc_codec *codec)
 
        /* if there was any work waiting then we run it now and
         * wait for its completion */
-       flush_delayed_work_sync(&codec->dapm.delayed_work);
+       flush_delayed_work(&codec->dapm.delayed_work);
 
        wm8350_set_bias_level(codec, SND_SOC_BIAS_OFF);