aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatthias Kaehlcke <[email protected]>2019-03-11 11:38:31 -0700
committerMarcel Holtmann <[email protected]>2019-04-23 18:09:07 +0200
commit4fdd5a4f8b4407c21897dbfba9d0ee77eb80a42c (patch)
treeca09ef8d7b5514ac0ea040f8ceae93bf0ebd6429 /tools/perf/scripts/python
parent9aebfd4a2200ab8075e44379c758bccefdc589bb (diff)
Bluetooth: hci_qca: Add helper function to get the chip family
Many functions obtain a 'struct qca_serdev' only to read the btsoc_type field. Add a helper function that encapsulates this. This also fixes crashes observed on platforms with ROME controllers that are instantiated through ldisc and not as serdev clients. The crashes are caused by NULL pointer dereferentiations, which stem from the driver's assumption that a QCA HCI device is always associated with a serdev device. Fixes: fa9ad876b8e0 ("Bluetooth: hci_qca: Add support for Qualcomm Bluetooth chip wcn3990") Reported-by: Balakrishna Godavarthi <[email protected]> Signed-off-by: Matthias Kaehlcke <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions