diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2009-09-30 14:18:30 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-03 13:34:25 -0500 |
commit | 32fd63981ed453bd882f22e3e9b0ccbc11fb47e5 (patch) | |
tree | 2fa97bdd50bf07fedf65ec3170695ce2d8e74716 /drivers/bluetooth/btmrvl_sdio.c | |
parent | 2ab25cdd7b54473dd42dcffc9872737de2517466 (diff) |
Bluetooth: Enable auto sleep mode for btmrvl driver
The auto sleep mode for btmrvl driver is not enabled by default.
This patch enables auto sleep mode when card is probed.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmrvl_sdio.c')
-rw-r--r-- | drivers/bluetooth/btmrvl_sdio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 5b33b85790f2..d6aaf511a4f4 100644 --- a/drivers/bluetooth/btmrvl_sdio.c +++ b/drivers/bluetooth/btmrvl_sdio.c | |||
@@ -930,6 +930,8 @@ static int btmrvl_sdio_probe(struct sdio_func *func, | |||
930 | priv->hw_wakeup_firmware = btmrvl_sdio_wakeup_fw; | 930 | priv->hw_wakeup_firmware = btmrvl_sdio_wakeup_fw; |
931 | 931 | ||
932 | btmrvl_send_module_cfg_cmd(priv, MODULE_BRINGUP_REQ); | 932 | btmrvl_send_module_cfg_cmd(priv, MODULE_BRINGUP_REQ); |
933 | priv->btmrvl_dev.psmode = 1; | ||
934 | btmrvl_enable_ps(priv); | ||
933 | 935 | ||
934 | return 0; | 936 | return 0; |
935 | 937 | ||