From: Joshua Scott Date: Fri, 22 May 2015 00:35:12 +0000 (+1200) Subject: gpio: Prevent an integer overflow in the pca953x driver X-Git-Tag: omap-for-v4.2/fixes-rc1^2~162^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6ac1280b6969607c5a01e316cc4ab693490c333;p=pandora-kernel.git 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-diff-tree failed