]> git.openpandora.org Git - pandora-kernel.git/commitdiff
gpio-timberdale: fix a potential wrapping issue
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 11 Oct 2012 06:56:35 +0000 (09:56 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Oct 2012 18:50:03 +0000 (20:50 +0200)
->last_ier is an unsigned long but the high bits can't be used int the
original code because the shift wraps.

Cc: stable@kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-timberdale.c

Simple merge