From b6ac1280b6969607c5a01e316cc4ab693490c333 Mon Sep 17 00:00:00 2001 From: Joshua Scott Date: Fri, 22 May 2015 12:35:12 +1200 Subject: [PATCH] gpio: Prevent an integer overflow in the pca953x driver Interrupts were missed if an 8-bit integer overflow occurred. This was observed when bank0,pin7 and bank1,pin7 changed simultaniously. As the 8-bit totals were only checked against zero, replace them with booleans. Name the booleans so that their purpose is clear. Signed-off-by: Joshua Scott Reviewed-by: Alexandre Courbot Signed-off-by: Linus Walleij --- Reading git-format-patch failed