[PATCH 7/17] arch/arm/common: Add missing spin_unlock_irqrestore

Russell King - ARM Linux linux at arm.linux.org.uk
Wed May 26 14:43:58 EDT 2010


On Wed, May 26, 2010 at 07:07:06PM +0200, Marek Vasut wrote:
> Why are "readl"s protected by spinlock anyway ? Can't we just move the locking 
> past the code above ?

Good question - and there seems to be a deadlock waiting to happen -
sa1111_wake() re-takes the same lock.

I think we should kill all the spinlock in sa1111_resume().



More information about the linux-arm-kernel mailing list