From: Chris Blair <chris.bl...@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.bl...@stericsson.com>
[Commit message written by me]
Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
---
 drivers/spi/spi-pl022.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to