aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_drv.h
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2014-03-28 17:54:39 -0400
committerMarcel Holtmann <marcel@holtmann.org>2014-03-28 22:37:06 -0400
commit0d3674084c89130bcaf15b1a69881b31f198ee72 (patch)
treeea7e78cb189e6df4d2ea6279a18a860f3976ae95 /drivers/bluetooth/btmrvl_drv.h
parent3d5a76f08bbac55305da87f4c810279189f64297 (diff)
Bluetooth: btmrvl: implement read-to-clear for SD8897 interrupts
For SD8897, CMD52 write_to_clear may have missing interrupts under certain corner case condition. Use CMD53 read-to-clear to fix the problem. Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmrvl_drv.h')
-rw-r--r--drivers/bluetooth/btmrvl_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/btmrvl_drv.h b/drivers/bluetooth/btmrvl_drv.h
index 7399303d7d99..199ff492da26 100644
--- a/drivers/bluetooth/btmrvl_drv.h
+++ b/drivers/bluetooth/btmrvl_drv.h
@@ -59,6 +59,8 @@ struct btmrvl_device {
59}; 59};
60 60
61struct btmrvl_adapter { 61struct btmrvl_adapter {
62 void *hw_regs_buf;
63 u8 *hw_regs;
62 u32 int_count; 64 u32 int_count;
63 struct sk_buff_head tx_queue; 65 struct sk_buff_head tx_queue;
64 u8 psmode; 66 u8 psmode;