All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: tlv320dac33: Change RT wq to singlethread wq
@ 2009-11-26 11:55 ` Peter Ujfalusi
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Ujfalusi @ 2009-11-26 11:55 UTC (permalink / raw)
  To: alsa-devel, sfr; +Cc: tj, linux-next, linux-kernel, tiwai, broonie

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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] ASoC: tlv320dac33: Change RT wq to singlethread wq
@ 2009-11-26 11:55 ` Peter Ujfalusi
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Ujfalusi @ 2009-11-26 11:55 UTC (permalink / raw)
  To: alsa-devel, sfr; +Cc: tj, tiwai, linux-next, linux-kernel, broonie

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] ASoC: tlv320dac33: Change RT wq to singlethread wq
  2009-11-26 11:55 ` Peter Ujfalusi
  (?)
@ 2009-11-26 15:47 ` Mark Brown
  2009-11-26 22:34   ` Stephen Rothwell
  2009-11-27  6:50   ` Stephen Rothwell
  -1 siblings, 2 replies; 5+ messages in thread
From: Mark Brown @ 2009-11-26 15:47 UTC (permalink / raw)
  To: Peter Ujfalusi; +Cc: alsa-devel, sfr, tj, linux-next, linux-kernel, tiwai

On Thu, Nov 26, 2009 at 01:55:11PM +0200, Peter Ujfalusi wrote:
> 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>

Applied, thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] ASoC: tlv320dac33: Change RT wq to singlethread wq
  2009-11-26 15:47 ` Mark Brown
@ 2009-11-26 22:34   ` Stephen Rothwell
  2009-11-27  6:50   ` Stephen Rothwell
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2009-11-26 22:34 UTC (permalink / raw)
  To: Mark Brown
  Cc: Peter Ujfalusi, alsa-devel, tj, linux-next, linux-kernel, tiwai

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

Hi Mark, Peter,

On Thu, 26 Nov 2009 15:47:46 +0000 Mark Brown <broonie@opensource.wolfsonmicro.com> wrote:
>
> On Thu, Nov 26, 2009 at 01:55:11PM +0200, Peter Ujfalusi wrote:
> > 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>
> 
> Applied, thanks.

Thanks guys.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] ASoC: tlv320dac33: Change RT wq to singlethread wq
  2009-11-26 15:47 ` Mark Brown
  2009-11-26 22:34   ` Stephen Rothwell
@ 2009-11-27  6:50   ` Stephen Rothwell
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2009-11-27  6:50 UTC (permalink / raw)
  To: Mark Brown
  Cc: Peter Ujfalusi, alsa-devel, tj, linux-next, linux-kernel, tiwai

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

On Thu, 26 Nov 2009 15:47:46 +0000 Mark Brown <broonie@opensource.wolfsonmicro.com> wrote:
>
> On Thu, Nov 26, 2009 at 01:55:11PM +0200, Peter Ujfalusi wrote:
> > 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>
> 
> Applied, thanks.

I also put this patch in linux-next (after the sound tree merge) for
today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-27  6:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-26 11:55 [PATCH] ASoC: tlv320dac33: Change RT wq to singlethread wq Peter Ujfalusi
2009-11-26 11:55 ` Peter Ujfalusi
2009-11-26 15:47 ` Mark Brown
2009-11-26 22:34   ` Stephen Rothwell
2009-11-27  6:50   ` Stephen Rothwell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.