Skip to content

Commit 9144b02

Browse files
RockShen-ASUSasus-leslieyu
authored andcommitted
rfkill: Do not turn off bt power when device registered
Change-Id: Ib9fb814efc6badb0bd9f0103ee0a3662d765be5e Signed-off-by: Rock Shen <rock_shen@asus.com>
1 parent 8026aab commit 9144b02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

net/rfkill/rfkill-bt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ static int rfkill_rk_probe(struct platform_device *pdev)
675675
}
676676
if (gpio_is_valid(pdata->reset_gpio.io))
677677
{
678-
gpio_direction_output(pdata->reset_gpio.io, !pdata->reset_gpio.enable);
678+
gpio_direction_output(pdata->reset_gpio.io, pdata->reset_gpio.enable);
679679
}
680680

681681
platform_set_drvdata(pdev, rfkill);

0 commit comments

Comments
 (0)