]> git.karo-electronics.de Git - linux-beck.git/commit
[ARM] 3755/1: dmabounce: fix return value for find_safe_buffer
authorKevin Hilman <khilman@mvista.com>
Fri, 18 Aug 2006 14:32:14 +0000 (15:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Aug 2006 14:32:14 +0000 (15:32 +0100)
commite2785f0d4251c35d6e82ec819354374c8c17d63d
treea3d3f046c4ea1f0ee0fd13187ca71277fd70ff2b
parent332158e7c206dc6bee0dfb24f2c1d6096e0989cd
[ARM] 3755/1: dmabounce: fix return value for find_safe_buffer

Patch from Kevin Hilman

Previous locking changes to dmabounce incorrectly return non-NULL even
when buffer not found.  Fix it up.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/dmabounce.c