+8
−16
Loading
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>