diff options
author | 2009-07-22 00:33:06 +0200 | |
---|---|---|
committer | 2009-07-29 23:47:14 +0100 | |
commit | 0c997c0eaac8c68fa23719617484dae29bddaedd (patch) | |
tree | 4b12117ebb165056909cfd5033e545460671c7b4 /lib/dma-debug.c | |
parent | kmemleak: Protect the seq start/next/stop sequence by rcu_read_lock() (diff) | |
download | wireguard-linux-0c997c0eaac8c68fa23719617484dae29bddaedd.tar.xz wireguard-linux-0c997c0eaac8c68fa23719617484dae29bddaedd.zip |
S3C24XX: GPIO: Fix pin range check in s3c_gpiolib_getchip
In the s3c_gpiolib_getchip implementation for s3c24xx the check whether a pin is
in the gpio banks range is reversed. Thus the function returns NULL for valid
pins and the gpio chip if its not valid.
As a result gpio states are not saved/restored properly during suspend/resume.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions