mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
Revert "Bluetooth: btqca: use le32_to_cpu for ver.soc_id"
This reverts commit29059d0f3bwhich is commit8153b738bcupstream. It breaks the Android kernel abi and can be brought back in the future in an abi-safe way if it is really needed. Bug: 161946584 Change-Id: I8399038f8d89a402d22d1071e4a503eab05d6174 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -637,7 +637,7 @@ int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate,
|
|||||||
snprintf(config.fwname, sizeof(config.fwname),
|
snprintf(config.fwname, sizeof(config.fwname),
|
||||||
"qca/%s", firmware_name);
|
"qca/%s", firmware_name);
|
||||||
else if (qca_is_wcn399x(soc_type)) {
|
else if (qca_is_wcn399x(soc_type)) {
|
||||||
if (le32_to_cpu(ver.soc_id) == QCA_WCN3991_SOC_ID) {
|
if (ver.soc_id == QCA_WCN3991_SOC_ID) {
|
||||||
snprintf(config.fwname, sizeof(config.fwname),
|
snprintf(config.fwname, sizeof(config.fwname),
|
||||||
"qca/crnv%02xu.bin", rom_ver);
|
"qca/crnv%02xu.bin", rom_ver);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user