diff options
author | Bartosz Golaszewski <[email protected]> | 2024-07-31 17:20:49 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <[email protected]> | 2024-08-07 16:35:37 -0400 |
commit | f3660957303b822e5dd6e10fe9e1e19afc6d33de (patch) | |
tree | 66bceb150f9eef54b912b1891f5b2575513b2fb7 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 541b80216cd1d511841c3c8d9559a7b13f4f79f2 (diff) |
Bluetooth: hci_qca: fix QCA6390 support on non-DT platforms
QCA6390 can albo be used on non-DT systems so we must not make the power
sequencing the only option. Check if the serdev device consumes an OF
node. If so: honor the new contract as per the DT bindings. If not: fall
back to the previous behavior by falling through to the existing
default label.
Fixes: 9a15ce685706 ("Bluetooth: qca: use the power sequencer for QCA6390")
Reported-by: Wren Turkal <[email protected]>
Closes: https://lore.kernel.org/linux-bluetooth/[email protected]/
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Paul Menzel <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions