diff options
author | 2018-01-10 16:32:10 +0100 | |
---|---|---|
committer | 2018-01-10 19:00:13 +0100 | |
commit | 4dc273306c16b04f696e8ab0e8bb4f6e238fe61b (patch) | |
tree | 388fcae80cf980512061b162e37004520a6d114a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | Bluetooth: hci_bcm: Fix unbalanced pm_runtime_disable() (diff) | |
download | linux-dev-4dc273306c16b04f696e8ab0e8bb4f6e238fe61b.tar.xz linux-dev-4dc273306c16b04f696e8ab0e8bb4f6e238fe61b.zip |
Bluetooth: hci_bcm: Invalidate IRQ on request failure
If devm_request_irq() fails, the driver bails out of bcm_request_irq()
but continues to ->setup the device (because the IRQ is optional).
The driver subsequently calls devm_free_irq(), enable_irq_wake() and
disable_irq_wake() on the IRQ even though requesting it failed.
Avoid by invalidating the IRQ on request failure.
Cc: Frédéric Danis <frederic.danis.oss@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions