Skip to content
  • Marek Vasut's avatar
    gpio: s3c: Fix the GPIO driver · 13cfd101
    Marek Vasut authored
    
    
    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: default avatarMarek Vasut <marex@denx.de>
    Cc: Kyungmin Park <kyungmin.park@samsung.com>
    Cc: Lukasz Majewski <l.majewski@samsung.com>
    Cc: Minkyu Kang <mk7.kang@samsung.com>
    Cc: Vladimir Zapolskiy <vz@mleia.com>
    Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
    13cfd101