summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2010-06-24 20:29:56 +0000
committerSzymon Dziok <b0hoon@o2.pl>2010-06-24 20:29:56 +0000
commit83d6ceb3043c1b8694765863c0d458d800ea6dbe (patch)
treef193c31e6a4b661c9f61fb6164d004b886f4ed7d /firmware
parent966052b328b5efcf260580c91136368c003b59b6 (diff)
downloadrockbox-83d6ceb3043c1b8694765863c0d458d800ea6dbe.tar.gz
rockbox-83d6ceb3043c1b8694765863c0d458d800ea6dbe.tar.bz2
rockbox-83d6ceb3043c1b8694765863c0d458d800ea6dbe.zip
synaptics: add a small delay in syn_get_data() for PB Vibe. Touchpad doesn't work when build with EABI without it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27117 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/synaptics-mep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/drivers/synaptics-mep.c b/firmware/drivers/synaptics-mep.c
index d200e7ca79..d87b828afb 100644
--- a/firmware/drivers/synaptics-mep.c
+++ b/firmware/drivers/synaptics-mep.c
@@ -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;
}