diff options
| author | Alex Tran <alex.t.tran@gmail.com> | 2025-10-02 08:57:27 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-10-13 18:33:50 +0300 |
| commit | 411b39bd1ac68c44f9e3c7dce5e095f6a71598c1 (patch) | |
| tree | 1418590cf1efa0897bbd1fbbfad09d9980fa4323 /include/linux/workqueue_api.h | |
| parent | 383760e3faa4d3df6e399d207e2930a785380c4e (diff) | |
| download | linux-411b39bd1ac68c44f9e3c7dce5e095f6a71598c1.tar.xz | |
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 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
