diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2009-11-26 06:55:11 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-11-26 10:47:12 -0500 |
commit | 74ea23aa6c9a8bece71b35ddeeb7ad6ae6782cd9 (patch) | |
tree | df188b696e303ad36ba9fdf77dc3235a8406000c | |
parent | c0fa59df7214e546f8a37bc677867ac7b67b5c93 (diff) |
ASoC: tlv320dac33: Change RT wq to singlethread wq
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>
-rw-r--r-- | sound/soc/codecs/tlv320dac33.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index 2a013e46ae14..9c8903dbe647 100644 --- a/sound/soc/codecs/tlv320dac33.c +++ b/sound/soc/codecs/tlv320dac33.c | |||
@@ -1118,7 +1118,8 @@ static int dac33_i2c_probe(struct i2c_client *client, | |||
1118 | } | 1118 | } |
1119 | if (dac33->irq != -1) { | 1119 | if (dac33->irq != -1) { |
1120 | /* Setup work queue */ | 1120 | /* Setup work queue */ |
1121 | dac33->dac33_wq = create_rt_workqueue("tlv320dac33"); | 1121 | dac33->dac33_wq = |
1122 | create_singlethread_workqueue("tlv320dac33"); | ||
1122 | if (dac33->dac33_wq == NULL) { | 1123 | if (dac33->dac33_wq == NULL) { |
1123 | free_irq(dac33->irq, &dac33->codec); | 1124 | free_irq(dac33->irq, &dac33->codec); |
1124 | ret = -ENOMEM; | 1125 | ret = -ENOMEM; |