From: Ondrej Zary Date: Fri, 6 Feb 2015 22:11:55 +0000 (+0100) Subject: aha1542: rework locking X-Git-Tag: omap-for-v4.1/fixes-rc1~120^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b0224b0ec6003c06cc369188510642a5fb3b864;p=pandora-kernel.git aha1542: rework locking Remove aha1542_lock and use host_lock instead. Remove interrupt and queuecommand function wrappers. Remove locking from lowlevel _out and _in functions, they now can onle be called (at runtime) with host_lock being held. Remove ssleep(4) in aha1542_reset as we can't sleep while holding a spinlock. It's useless anyway as wait_mask will wait until the controller is idle and kernel waits for 10 seconds (HOST_RESET_SETTLE_TIME) after that. Signed-off-by: Ondrej Zary Reviewed-by: Christoph Hellwig Signed-off-by: James Bottomley --- Reading git-diff-tree failed