Skip to content
Snippets Groups Projects
  • Marek Vasut's avatar
    13cfd101
    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
    History
    gpio: s3c: Fix the GPIO driver
    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>