From: John Crispin Date: Wed, 11 Jul 2012 14:33:43 +0000 (+0200) Subject: GPIO: MIPS: lantiq: fix overflow inside stp-xway driver X-Git-Tag: v3.7-rc1~77^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9e854cf940fbc09846c255895efceb3bc9bf095;p=pandora-kernel.git GPIO: MIPS: lantiq: fix overflow inside stp-xway driver The driver was using a 16 bit field for storing the shadow value of the shift register cascade. This resulted in only the first 2 shift registeres receiving the correct data. The third shift register would always receive 0x00. Fix this by using a 32bit field for the shadow value. Signed-off-by: John Crispin Cc: linux-kernel@vger.kernel.org --- Reading git-diff-tree failed