mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
FS#5320: Keypad hold doesn't let go until scrolling is used (ipod 4g/5g)
Patch by Boris Gjenero Change-Id: I7df956fb63478bbbe891104faf5ab35096da7576
This commit is contained in:
parent
c8da2bc145
commit
a5961c944b
1 changed files with 8 additions and 0 deletions
|
@ -259,6 +259,14 @@ static inline int ipod_4g_button_read(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else if ((status & 0x800000ff) != 0x8000003a &&
|
||||||
|
status != 0xFFFFFFFF)
|
||||||
|
{
|
||||||
|
udelay(2000);
|
||||||
|
outl(inl(0x7000c100) & ~0x60000000, 0x7000c100);
|
||||||
|
outl(inl(0x7000c104) | 0x04000000, 0x7000c104);
|
||||||
|
outl(inl(0x7000c100) | 0x60000000, 0x7000c100);
|
||||||
|
}
|
||||||
#if CONFIG_CPU==S5L8701 || CONFIG_CPU==S5L8702
|
#if CONFIG_CPU==S5L8701 || CONFIG_CPU==S5L8702
|
||||||
else if ((status & 0x8000FFFF) == 0x8000023A)
|
else if ((status & 0x8000FFFF) == 0x8000023A)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue