From 0358e185a0fb4c285d928a56058e50639fcebb9f 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 c926f13f7f6f..2d92db923da4 100644 --- a/drivers/amlogic/bluetooth/bt_device.c +++ b/drivers/amlogic/bluetooth/bt_device.c @@ -121,7 +121,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) {