Files
linux/arch/arm/common
Marek Vašut 3defb24761 ARM: 6146/1: sa1111: Prevent deadlock in resume path
This patch reorganises the sa1111_resume() function in a manner the spinlock
happens after calling the sa1111_wake(). This fixes two bugs:

1) This function called sa1111_wake() which tried to claim the same spinlock
   the sa1111_resume() already claimed. This would result in certain deadlock.

   Original idea for this part: Russell King <[email protected]>

2) The function didn't unlock the spinlock in case the chip didn't report
   correct ID.

   Original idea for this part: Julia Lawall <[email protected]>

Signed-off-by: Marek Vasut <[email protected]>
Cc: <[email protected]>
Signed-off-by: Russell King <[email protected]>
2010-05-27 10:36:08 +01:00
..
2010-05-02 09:35:33 +01:00
2008-09-06 12:10:45 +01:00