This is a note to let you know that I've just added the patch titled
i2c-eg20t: change timeout value 50msec to 1000msec
to the 3.3-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
i2c-eg20t-change-timeout-value-50msec-to-1000msec.patch
and it can be found in the queue-3.3 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 8a52f9f347da721b199b7f9dcc0168bbe7d0baae Mon Sep 17 00:00:00 2001
From: Tomoya MORINAGA <[email protected]>
Date: Mon, 26 Mar 2012 14:55:25 +0900
Subject: i2c-eg20t: change timeout value 50msec to 1000msec
From: Tomoya MORINAGA <[email protected]>
commit 8a52f9f347da721b199b7f9dcc0168bbe7d0baae upstream.
Currently, during i2c works alone, wait-event timeout is not occurred.
However, as CPU load increases, timeout occurs frequently.
So, I modified like this patch.
Modifying like this patch, I've never seen the timeout event with high
load test.
Signed-off-by: Tomoya MORINAGA <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/i2c/busses/i2c-eg20t.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/i2c/busses/i2c-eg20t.c
+++ b/drivers/i2c/busses/i2c-eg20t.c
@@ -318,7 +318,7 @@ static s32 pch_i2c_wait_for_xfer_complet
{
long ret;
ret = wait_event_timeout(pch_event,
- (adap->pch_event_flag != 0), msecs_to_jiffies(50));
+ (adap->pch_event_flag != 0), msecs_to_jiffies(1000));
if (ret == 0) {
pch_err(adap, "timeout: %x\n", adap->pch_event_flag);
Patches currently in stable-queue which might be from [email protected] are
queue-3.3/spi-topcliff-pch-modify-pci-bus-number-dynamically-to-get-dma-device-info.patch
queue-3.3/spi-topcliff-pch-supports-a-spi-mode-setup-and-bit-order-setup-by-io-control.patch
queue-3.3/spi-topcliff-pch-fix-issue-for-transmitting-over-4kbyte.patch
queue-3.3/spi-topcliff-pch-add-recovery-processing-in-case-wait-event-timeout.patch
queue-3.3/i2c-eg20t-change-timeout-value-50msec-to-1000msec.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html