diff --git a/net/rfkill/rfkill-bt.c b/net/rfkill/rfkill-bt.c index cffbeec17909..b19e0fb9ce82 100644 --- a/net/rfkill/rfkill-bt.c +++ b/net/rfkill/rfkill-bt.c @@ -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);