diff mbox

[2/2] spi/pl022: elevate workqueue to realtime priority

Message ID 1317884611-22168-1-git-send-email-linus.walleij@stericsson.com
State Superseded
Headers show

Commit Message

Linus Walleij Oct. 6, 2011, 7:03 a.m. UTC
From: Chris Blair <chris.blair@stericsson.com>

The PL022 is used in performance-critical applications where we
need soft realtime response from the SPI data pipe. Elevating the
workqueue to realtime has been proven to improve response times
for us, so we propose to make this change permanent.

Signed-off-by: Chris Blair <chris.blair@stericsson.com>
[Commit message written by me]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/spi/spi-pl022.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
index 4761b31..debdaeb 100644
--- a/drivers/spi/spi-pl022.c
+++ b/drivers/spi/spi-pl022.c
@@ -1612,7 +1612,7 @@  static int __init init_queue(struct pl022 *pl022)
 			(unsigned long)pl022);
 
 	INIT_WORK(&pl022->pump_messages, pump_messages);
-	pl022->workqueue = create_singlethread_workqueue(
+	pl022->workqueue = create_rt_workqueue(
 					dev_name(pl022->master->dev.parent));
 	if (pl022->workqueue == NULL)
 		return -EBUSY;