diff --git a/drivers/bluetooth/bluetooth-power.c b/drivers/bluetooth/bluetooth-power.c index 650585c2ea44..272a83dc2cfd 100644 --- a/drivers/bluetooth/bluetooth-power.c +++ b/drivers/bluetooth/bluetooth-power.c @@ -676,8 +676,8 @@ static int bt_power_probe(struct platform_device *pdev) btpdev = pdev; if (of_id) { - if ((get_bt_reset_gpio_value() == BT_RESET_GPIO_HIGH_VAL) - && (strcmp(of_id->compatible, "qca,qca6174") == 0)) { + if ((strcmp(of_id->compatible, "qca,qca6174") == 0) && + (get_bt_reset_gpio_value() == BT_RESET_GPIO_HIGH_VAL)) { bluetooth_toggle_radio(pdev->dev.platform_data, 0); bluetooth_toggle_radio(pdev->dev.platform_data, 1); }