summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorAlex Tran <alex.t.tran@gmail.com>2025-10-01 22:57:27 -0700
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-10-13 17:33:50 +0200
commit411b39bd1ac68c44f9e3c7dce5e095f6a71598c1 (patch)
tree1418590cf1efa0897bbd1fbbfad09d9980fa4323 /tools/perf/scripts/python/git@git.tavy.me:linux-stable.git
parent383760e3faa4d3df6e399d207e2930a785380c4e (diff)
gpio: grgpio: call request_irq after incrementing the reference count
Remove extraneous dropping of the lock just to call 'request_irq' and locking again afterwards. Increment reference count before calling 'request_irq'. Rollback reference count if 'request_irq' fails. Suggested-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alex Tran <alex.t.tran@gmail.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions