diff options
author | Dheeraj CVR <cvr.dheeraj@gmail.com> | 2014-09-13 17:35:00 +0530 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-11-19 21:07:25 +0100 |
commit | b856068c6296850f420046d4ef8c373536f68eda (patch) | |
tree | 92dc86052051b163d847917e829dcaa7cc78bfd7 /arch/arm/mach-omap2/board-tuna-bluetooth.c | |
parent | 9f71d5ec3e1f0b2ac57ba218c08399e8c1e12acd (diff) | |
download | kernel_samsung_tuna-b856068c6296850f420046d4ef8c373536f68eda.zip kernel_samsung_tuna-b856068c6296850f420046d4ef8c373536f68eda.tar.gz kernel_samsung_tuna-b856068c6296850f420046d4ef8c373536f68eda.tar.bz2 |
tuna: bluetooth: deassert BT_REG and BT_NRST during boot
BT_REG and BT_NRST should be deasserted during boot so that they
remain low and they are pulled high using the rfkill switch. Having
the BT_NRST gpio high would power on the chip even when BT was not
in use after boot and would need a power on and off cycle to disable
the chip.
2 Minute silence for all the power that has been lost since November 2011.
Change-Id: I3d4bcc35599bf58ab8fae81df650e4a3881b4bea
Diffstat (limited to 'arch/arm/mach-omap2/board-tuna-bluetooth.c')
-rw-r--r-- | arch/arm/mach-omap2/board-tuna-bluetooth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-tuna-bluetooth.c b/arch/arm/mach-omap2/board-tuna-bluetooth.c index 4864f2f..cec648b 100644 --- a/arch/arm/mach-omap2/board-tuna-bluetooth.c +++ b/arch/arm/mach-omap2/board-tuna-bluetooth.c @@ -263,8 +263,8 @@ static int bcm4330_bluetooth_probe(struct platform_device *pdev) clk32kaudio_reg = NULL; } - gpio_direction_output(BT_REG_GPIO, 1); - gpio_direction_output(BT_RESET_GPIO, 1); + gpio_direction_output(BT_REG_GPIO, 0); + gpio_direction_output(BT_RESET_GPIO, 0); bt_rfkill = rfkill_alloc("bcm4330 Bluetooth", &pdev->dev, RFKILL_TYPE_BLUETOOTH, &bcm4330_bt_rfkill_ops, |