aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/via-maciisi.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-08-26 20:16:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-08-26 20:16:38 -0700
commit533995ed85730a1f5f385b9ecb2d2b4b731d27b4 (patch)
tree1dcccfbece1d9275f1c595c460492afdf7551a17 /drivers/macintosh/via-maciisi.c
parentleds: after setting inverted attribute, we must update the LED (diff)
parentm68k,m68knommu: Wire up rt_tgsigqueueinfo and perf_counter_open (diff)
downloadlinux-dev-533995ed85730a1f5f385b9ecb2d2b4b731d27b4.tar.xz
linux-dev-533995ed85730a1f5f385b9ecb2d2b4b731d27b4.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: m68k,m68knommu: Wire up rt_tgsigqueueinfo and perf_counter_open m68k: Fix redefinition of pgprot_noncached arch/m68k/include/asm/motorola_pgalloc.h: fix kunmap arg m68k: cnt reaches -1, not 0 m68k: count can reach 51, not 50
Diffstat (limited to 'drivers/macintosh/via-maciisi.c')
-rw-r--r--drivers/macintosh/via-maciisi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/via-maciisi.c b/drivers/macintosh/via-maciisi.c
index 4d686c0bdea0..9ab5b0c34f0d 100644
--- a/drivers/macintosh/via-maciisi.c
+++ b/drivers/macintosh/via-maciisi.c
@@ -288,7 +288,7 @@ static void maciisi_sync(struct adb_request *req)
}
/* This could be BAD... when the ADB controller doesn't respond
* for this long, it's probably not coming back :-( */
- if(count >= 50) /* Hopefully shouldn't happen */
+ if (count > 50) /* Hopefully shouldn't happen */
printk(KERN_ERR "maciisi_send_request: poll timed out!\n");
}