aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorLukas Wunner <[email protected]>2018-01-10 16:32:10 +0100
committerMarcel Holtmann <[email protected]>2018-01-10 19:00:13 +0100
commit54ba69f9e7304e15e07713b4bb0eb1a405d271f0 (patch)
treef75fa1d5c70ff6c66df2bb02b69ba249c768f246 /scripts/gdb/linux/lists.py
parent6d83f1ee88a47d81f29d3aa4d17ad68d73473d40 (diff)
Bluetooth: hci_bcm: Fix race on close
Upon ->close, the driver powers the Bluetooth controller down, deasserts the device wake pin, updates the runtime PM status to "suspended" and finally frees the IRQ. Because the IRQ is freed last, a runtime resume can take place after the controller was powered down. The impact is not grave, the worst thing that can happen is that the device wake pin is reasserted (should have no effect while the regulator is off) and that setting the runtime PM status to "suspended" does not reflect reality. Still, it's wrong, so free the IRQ first. Cc: Frédéric Danis <[email protected]> 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