synaptics: add a small delay in syn_get_data() for PB Vibe. Touchpad doesn't work...
authorb0hoon <b0hoon@a1c6a512-1295-4272-9138-f99709370657>
Thu, 24 Jun 2010 20:29:56 +0000 (24 20:29 +0000)
committerb0hoon <b0hoon@a1c6a512-1295-4272-9138-f99709370657>
Thu, 24 Jun 2010 20:29:56 +0000 (24 20:29 +0000)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27117 a1c6a512-1295-4272-9138-f99709370657

firmware/drivers/synaptics-mep.c

index d200e7c..d87b828 100644 (file)
@@ -163,6 +163,9 @@ static void syn_set_data(int val)
 static inline int syn_get_data(void)
 {
     DATA_CL;
+#if defined(PBELL_VIBE500) /* for EABI (touchpad doesn't work without it) */
+    udelay(0);
+#endif
     return DATA;
 }