mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
bluetooth: rfkill-bt: uart-rts gpio can be an optional pin
This patch set uart_rts_gpios as an optional gpio pin. Some boards (e.g. px3se-sdk) do not use the rts flow control, and the correspoding uart-rts pin is occupied as some other functions(e.g. irq pin). Change-Id: Ia402dc2b74c305d83d3e1ccbedc1c913b270c828 Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
This commit is contained in:
parent
10c0b6abc7
commit
48ec8a809c
|
|
@ -501,8 +501,8 @@ static int bluetooth_platdata_parse_dt(struct device *dev,
|
|||
}
|
||||
} else {
|
||||
data->pinctrl = NULL;
|
||||
LOG("%s: uart_rts_gpios is unvalid.\n", __func__);
|
||||
return -EINVAL;
|
||||
data->rts_gpio.io = -EINVAL;
|
||||
LOG("%s: uart_rts_gpios is no-in-use.\n", __func__);
|
||||
}
|
||||
|
||||
gpio = of_get_named_gpio_flags(node, "BT,power_gpio", 0, &flags);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user