In the Linux kernel before 5.16.3, drivers/bluetooth/hci_qca.c misinterprets the devm_gpiod_get_index_optional return value (expects it to be NULL in the error case, whereas it is actually an error pointer).
https://github.com/torvalds/linux/commit/6845667146a28c09b5dfc401c1ad112374087944
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.3