]> Git Repo - J-u-boot.git/commit
gpio: s3c: Fix the GPIO driver
authorMarek Vasut <[email protected]>
Sat, 11 Oct 2014 16:42:57 +0000 (18:42 +0200)
committerMinkyu Kang <[email protected]>
Wed, 6 May 2015 08:00:58 +0000 (17:00 +0900)
commit13cfd101dda099db55593fd42ddb6e387f2f3065
treed7079418f3a1c661955641c52e89343bd7ae7243
parent7b0c0f69a465661f7273c9343d017481dcdf2e39
gpio: s3c: Fix the GPIO driver

The GPIO driver didn't correctly compute the bank offset
from the GPIO number and caused random writes into the
GPIO block address space. Fix the driver so it actually
does the writes correctly. While at it, make use of the
clrsetbits_le32() mechanisms.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Minkyu Kang <[email protected]>
Cc: Vladimir Zapolskiy <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
drivers/gpio/s3c2440_gpio.c
This page took 0.038329 seconds and 4 git commands to generate.