Skip to content
Commit 32b6cb38 authored by Ben Dooks's avatar Ben Dooks
Browse files

ARM: SAMSUNG: Fix additional increment when running through gpios



The pm-gpio.c code was incrementing the gpio_nr from the nr_gpios
field and the bank-bank offset inside the loop, and also in the
for() loop with a ++.

Remove the ++, as the number is already at the next GPIO, thus
ensuring that we don't skip a gpio bank by accident.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 4ac2a397
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