Skip to content
Commit 4efec627 authored by Roel Kluin's avatar Roel Kluin Committed by Linus Torvalds
Browse files

gpio: fix test on unsigned in lnw_irq_type()



The wrong test was used, gpio is unsigned and it had an off-by-one.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Alek Du <alek.du@intel.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent afd49a7e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment