summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-02-05 20:58:41 +0000
committerDave Chapman <dave@dchapman.com>2006-02-05 20:58:41 +0000
commitafb2564b8494115babc6ce4c496c28005c5a1599 (patch)
tree02fa72561ac24fcb343fa30b970d5b2b09b77a9c
parent941de8586c1d64742b5947cb4a49092478755eb5 (diff)
downloadrockbox-afb2564b8494115babc6ce4c496c28005c5a1599.tar.gz
rockbox-afb2564b8494115babc6ce4c496c28005c5a1599.zip
iPod: Increase udelay() up to 50 - this was causing problems when the hold switch was being used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8590 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index 5098cbe556..368f5bea86 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -210,7 +210,7 @@ void ipod_4g_button_int(void)
210 CPU_HI_INT_CLR = I2C_MASK; 210 CPU_HI_INT_CLR = I2C_MASK;
211 /* The following delay was 250 in the ipodlinux source, but 10 seems to 211 /* The following delay was 250 in the ipodlinux source, but 10 seems to
212 work fine - tested on Nano, Color/Photo and Video. */ 212 work fine - tested on Nano, Color/Photo and Video. */
213 udelay(10); 213 udelay(50);
214 outl(0x0, 0x7000c140); 214 outl(0x0, 0x7000c140);
215 int_btn = ipod_4g_button_read(); 215 int_btn = ipod_4g_button_read();
216 outl(inl(0x7000c104) | 0xC000000, 0x7000c104); 216 outl(inl(0x7000c104) | 0xC000000, 0x7000c104);