commit | 24298a218e321cf54a5d7d7dce9bd0d393b2ac0c | [log] [tgz] |
---|---|---|
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | Fri May 25 18:54:51 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 01 11:17:05 2018 +0200 |
tree | 293af41e102583939f2302c745ca55dace389504 | |
parent | 7efcce04309260e8088e89ca2c0a33cff452ac5c [diff] |
staging: mt7621-gpio: change lock place in irq mask and unmask functions Functions mediatek_gpio_irq_umask mediatek_gpio_irq_unmask are reading and modifying registers but only the write is being hold. It should be a complete lock instead for those which are type of "read-modify-write". This makes more sense. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>