lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1259236511-25805-1-git-send-email-peter.ujfalusi@nokia.com>
Date:	Thu, 26 Nov 2009 13:55:11 +0200
From:	Peter Ujfalusi <peter.ujfalusi@...ia.com>
To:	alsa-devel@...a-project.org, sfr@...b.auug.org.au
Cc:	tj@...nel.org, linux-next@...r.kernel.org,
	linux-kernel@...r.kernel.org, tiwai@...e.de,
	broonie@...nsource.wolfsonmicro.com
Subject: [PATCH] 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@...ia.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ