diff options
author | Lukas Wunner <[email protected]> | 2018-01-10 16:32:10 +0100 |
---|---|---|
committer | Marcel Holtmann <[email protected]> | 2018-01-10 19:00:13 +0100 |
commit | f4cf6b7e3b8704d3dabfb8427a61d4c03ce48d80 (patch) | |
tree | af0a95a5ff1685af2caccf62d5ab27f895c56ede /scripts/gdb/linux/lists.py | |
parent | 54ba69f9e7304e15e07713b4bb0eb1a405d271f0 (diff) |
Bluetooth: hci_bcm: Fix unbalanced pm_runtime_disable()
On ->setup, pm_runtime_enable() is only called if a valid IRQ was found,
but on ->close(), pm_runtime_disable() is called unconditionally.
Disablement of runtime PM is recorded in a counter, so every
pm_runtime_disable() needs to be balanced. Fix it.
Cc: Frédéric Danis <[email protected]>
Reported-and-reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Lukas Wunner <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions