diff options
-rw-r--r-- | firmware/target/arm/ipod/button-clickwheel.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/target/arm/ipod/button-clickwheel.c b/firmware/target/arm/ipod/button-clickwheel.c index f9a9284915..8f238936e7 100644 --- a/firmware/target/arm/ipod/button-clickwheel.c +++ b/firmware/target/arm/ipod/button-clickwheel.c | |||
@@ -259,6 +259,14 @@ static inline int ipod_4g_button_read(void) | |||
259 | } | 259 | } |
260 | 260 | ||
261 | } | 261 | } |
262 | else if ((status & 0x800000ff) != 0x8000003a && | ||
263 | status != 0xFFFFFFFF) | ||
264 | { | ||
265 | udelay(2000); | ||
266 | outl(inl(0x7000c100) & ~0x60000000, 0x7000c100); | ||
267 | outl(inl(0x7000c104) | 0x04000000, 0x7000c104); | ||
268 | outl(inl(0x7000c100) | 0x60000000, 0x7000c100); | ||
269 | } | ||
262 | #if CONFIG_CPU==S5L8701 || CONFIG_CPU==S5L8702 | 270 | #if CONFIG_CPU==S5L8701 || CONFIG_CPU==S5L8702 |
263 | else if ((status & 0x8000FFFF) == 0x8000023A) | 271 | else if ((status & 0x8000FFFF) == 0x8000023A) |
264 | { | 272 | { |