Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c9e854cf authored by John Crispin's avatar John Crispin
Browse files

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: default avatarJohn Crispin <blogic@openwrt.org>
Cc: linux-kernel@vger.kernel.org
parent 6a88a0f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment