diff options
author | Andy Green <andy@openmoko.com> | 2009-03-04 07:38:10 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-03-04 07:38:10 +0000 |
commit | a18dd4d39b8a5fbf23e7b35e9e078cccbb4816bf (patch) | |
tree | 93ff1ab2dd20ff90820610738b49547ef5868a5d /drivers/power | |
parent | e71d687a59642b5ba7789395d6d5cf447cf46c09 (diff) |
fix-hdq-timeout-overflow.patch
Reported-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/hdq.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |