diff options
| author | Michael McAllister <me@michaelmcallister.org> | 2026-11-16 16:35:14 +0000 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-11-17 11:39:28 -0500 |
| commit | c9eb955c4fe2c2611a57625767c4cc57ab8c7558 (patch) | |
| tree | 8ff969fca800215057e2752f3adf51e3e3cbe1a4 /tools/perf/scripts/python | |
| parent | ee43bade37c4578b52a76cf0cdb199d3c0019506 (diff) | |
Bluetooth: hci_mrvl: Leave the serdev port lifetime to hci_serdev
hci_uart_register_device_priv() opens the port before calling mrvl_open(),
so Marvell opens it twice. Likewise, mrvl_close() closes it before the
transport closes it again during unregister or registration error cleanup.
Remove the extra calls and let hci_serdev own the port lifetime. This also
avoids failing probe when serdev rejects a second open with -EALREADY.
Fixes: be70e5e774a6 ("Bluetooth: hci_mrvl: Add serdev support")
Reported-by: Markus Probst <markus.probst@posteo.de>
Closes: https://lore.kernel.org/341e56b1ff7d8a5b109e26e30dfed61faa54d603.camel@posteo.de/
Signed-off-by: Michael McAllister <me@michaelmcallister.org>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
