From c9e854cf940fbc09846c255895efceb3bc9bf095 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 11 Jul 2012 16:33:43 +0200 Subject: [PATCH] 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-format-patch failed