diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-04-25 14:43:54 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo@padovan.org> | 2012-05-09 00:40:51 -0400 |
commit | ba54a16ffacfc7121b6a799de1d08254cb0254b9 (patch) | |
tree | 3919a7c8fc86315d3aebacf1787e68d8c0355de2 /drivers/bluetooth/btmrvl_main.c | |
parent | 6ff9b5ef5e4e3f474689737640d0c01a96d0696d (diff) |
Bluetooth: btmrvl: add support for SDIO suspend/resume callbacks
Host sleep is activated using already configured host sleep
parameters in suspend handler and it is cancelled in resume
handler.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
Diffstat (limited to 'drivers/bluetooth/btmrvl_main.c')
-rw-r--r-- | drivers/bluetooth/btmrvl_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bluetooth/btmrvl_main.c b/drivers/bluetooth/btmrvl_main.c index a880537ff8c5..681ca9d18e12 100644 --- a/drivers/bluetooth/btmrvl_main.c +++ b/drivers/bluetooth/btmrvl_main.c | |||
@@ -262,7 +262,7 @@ int btmrvl_enable_ps(struct btmrvl_private *priv) | |||
262 | } | 262 | } |
263 | EXPORT_SYMBOL_GPL(btmrvl_enable_ps); | 263 | EXPORT_SYMBOL_GPL(btmrvl_enable_ps); |
264 | 264 | ||
265 | static int btmrvl_enable_hs(struct btmrvl_private *priv) | 265 | int btmrvl_enable_hs(struct btmrvl_private *priv) |
266 | { | 266 | { |
267 | struct sk_buff *skb; | 267 | struct sk_buff *skb; |
268 | struct btmrvl_cmd *cmd; | 268 | struct btmrvl_cmd *cmd; |
@@ -298,6 +298,7 @@ static int btmrvl_enable_hs(struct btmrvl_private *priv) | |||
298 | 298 | ||
299 | return ret; | 299 | return ret; |
300 | } | 300 | } |
301 | EXPORT_SYMBOL_GPL(btmrvl_enable_hs); | ||
301 | 302 | ||
302 | int btmrvl_prepare_command(struct btmrvl_private *priv) | 303 | int btmrvl_prepare_command(struct btmrvl_private *priv) |
303 | { | 304 | { |