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
|
||||
else if ((status & 0x8000FFFF) == 0x8000023A)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue