From a18dd4d39b8a5fbf23e7b35e9e078cccbb4816bf Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 4 Mar 2009 07:38:10 +0000 Subject: fix-hdq-timeout-overflow.patch Reported-by: Neil Brown Signed-off-by: Andy Green --- drivers/power/hdq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/power') diff --git a/drivers/power/hdq.c b/drivers/power/hdq.c index 8b1aee82b9c..d8062369fcb 100644 --- a/drivers/power/hdq.c +++ b/drivers/power/hdq.c @@ -128,7 +128,7 @@ int hdq_fiq_handler(void) } /* read the next byte */ hdq_priv.hdq_bit = 8; /* 8 bits of data */ - hdq_priv.hdq_ctr = 3000 / HDQ_SAMPLE_PERIOD_US; + hdq_priv.hdq_ctr = 2500 / HDQ_SAMPLE_PERIOD_US; hdq_priv.hdq_state = HDQB_WAIT_RX; hdq_priv.pdata->gpio_dir_in(); break; -- cgit v1.2.3