OMAP: cs should be positive in gpmc_cs_free()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 17 Nov 2009 22:39:06 +0000 (14:39 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 18 Nov 2009 18:34:33 +0000 (10:34 -0800)
The index `cs' is signed, test whether it is negative before we release
gpmc_cs_mem[cs].

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

No differences found