mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
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>
This commit is contained in:
parent
c0fa59df72
commit
74ea23aa6c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue