ASoC: tlv320dac33: Change RT wq to singlethread wq
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Thu, 26 Nov 2009 11:55:11 +0000 (13:55 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Nov 2009 15:47:12 +0000 (15:47 +0000)
RT workqueue is going away in the near future, replace it with
singlethread wq for now, which is still supported.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320dac33.c

index 2a013e46ae14ab7ec30f489d1fc23f0cb2ab3b50..9c8903dbe647c9c658f6bb114c50a5e8df0242da 100644 (file)
@@ -1118,7 +1118,8 @@ static int dac33_i2c_probe(struct i2c_client *client,
                }
                if (dac33->irq != -1) {
                        /* Setup work queue */
-                       dac33->dac33_wq = create_rt_workqueue("tlv320dac33");
+                       dac33->dac33_wq =
+                               create_singlethread_workqueue("tlv320dac33");
                        if (dac33->dac33_wq == NULL) {
                                free_irq(dac33->irq, &dac33->codec);
                                ret = -ENOMEM;