ODROID: bt: Bugfix.

- power_low_level value is not applied correctly.

Change-Id: Id98d8e819e0502f7ec2ae27f972a926ac7c855d2
Signed-off-by: Luke Go <sangch.go@gmail.com>
This commit is contained in:
Luke Go
2019-12-31 14:47:27 +09:00
committed by Luke go
parent 2da194b281
commit d136a8e5b6

View File

@@ -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) {