public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@nokia•com>
To: alsa-devel@alsa-project•org, sfr@canb•auug.org.au
Cc: tj@kernel•org, tiwai@suse•de, linux-next@vger•kernel.org,
	linux-kernel@vger•kernel.org,
	broonie@opensource•wolfsonmicro.com
Subject: [PATCH] ASoC: tlv320dac33: Change RT wq to singlethread wq
Date: Thu, 26 Nov 2009 13:55:11 +0200	[thread overview]
Message-ID: <1259236511-25805-1-git-send-email-peter.ujfalusi@nokia.com> (raw)

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>
---

Hello,

I believe this patch fixes the linux-next breakage (in the tlv320dac33 codec
driver) caused by the removal of the RT workqueue in the wq tree.

 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 2a013e4..9c8903d 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,
 		}
 		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;
--
1.6.5.3

             reply	other threads:[~2009-11-26 11:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-26 11:55 Peter Ujfalusi [this message]
2009-11-26 15:47 ` [PATCH] ASoC: tlv320dac33: Change RT wq to singlethread wq Mark Brown
2009-11-26 22:34   ` Stephen Rothwell
2009-11-27  6:50   ` Stephen Rothwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1259236511-25805-1-git-send-email-peter.ujfalusi@nokia.com \
    --to=peter.ujfalusi@nokia$(echo .)com \
    --cc=alsa-devel@alsa-project$(echo .)org \
    --cc=broonie@opensource$(echo .)wolfsonmicro.com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=tiwai@suse$(echo .)de \
    --cc=tj@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox