summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_sdio.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2013-10-01 12:19:14 -0700
committerMarcel Holtmann <marcel@holtmann.org>2013-10-02 00:36:16 -0700
commit4b245722cabc6ee6d56924f10944b14a725ffd61 (patch)
tree641320870df1f44d4098a6ebc290cb9e19b2aeee /drivers/bluetooth/btmrvl_sdio.c
parent7d5b400cb0018bd23f643adbd413e5e77cce6409 (diff)
downloadop-kernel-dev-4b245722cabc6ee6d56924f10944b14a725ffd61.zip
op-kernel-dev-4b245722cabc6ee6d56924f10944b14a725ffd61.tar.gz
Bluetooth: btmrvl: add setup handler
Move initialization code to hdev's setup handler. 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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index 00da6df..5b70bcb 100644
--- a/drivers/bluetooth/btmrvl_sdio.c
+++ b/drivers/bluetooth/btmrvl_sdio.c
@@ -1046,12 +1046,6 @@ static int btmrvl_sdio_probe(struct sdio_func *func,
goto disable_host_int;
}
- priv->btmrvl_dev.psmode = 1;
- btmrvl_enable_ps(priv);
-
- priv->btmrvl_dev.gpio_gap = 0xffff;
- btmrvl_send_hscfg_cmd(priv);
-
return 0;
disable_host_int:
OpenPOWER on IntegriCloud