From d136a8e5b630f0eb5dfd6002c536c1a645e67693 Mon Sep 17 00:00:00 2001 From: Luke Go Date: Tue, 31 Dec 2019 14:47:27 +0900 Subject: [PATCH] ODROID: bt: Bugfix. - power_low_level value is not applied correctly. Change-Id: Id98d8e819e0502f7ec2ae27f972a926ac7c855d2 Signed-off-by: Luke Go --- drivers/amlogic/bluetooth/bt_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/amlogic/bluetooth/bt_device.c b/drivers/amlogic/bluetooth/bt_device.c index 5785e020e3b0..19f3bc9b26bb 100644 --- a/drivers/amlogic/bluetooth/bt_device.c +++ b/drivers/amlogic/bluetooth/bt_device.c @@ -168,7 +168,7 @@ static void bt_device_on(struct bt_dev_data *pdata) gpio_direction_input(pdata->gpio_reset); } else { gpio_direction_output(pdata->gpio_reset, - pdata->power_low_level); + !pdata->power_low_level); } } if (pdata->gpio_en > 0) {