diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-10-08 10:12:01 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-10-15 16:43:51 +0200 |
commit | 21d4de1469a1da20a14a745c5f49488bba417ea7 (patch) | |
tree | d0c39132649b032b524328ea7d0abf88a4134795 /lib/pm-notifier-error-inject.c | |
parent | 78856ac0dd33036ae08a18b644e9fa40b30ee011 (diff) | |
download | linux-stable-21d4de1469a1da20a14a745c5f49488bba417ea7.tar.gz linux-stable-21d4de1469a1da20a14a745c5f49488bba417ea7.tar.bz2 linux-stable-21d4de1469a1da20a14a745c5f49488bba417ea7.zip |
gpio: pl061: returning with lock held in pl061_irq_type()
We were returning with "chip->lock" held by mistake. It's safe to
move the return to before we take the spinlock.
Fixes: 1dbf7f299f90 ('gpio: pl061: detail IRQ trigger handling')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions