summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_drv.h
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2014-03-28 14:54:39 -0700
committerMarcel Holtmann <marcel@holtmann.org>2014-03-28 19:37:06 -0700
commit0d3674084c89130bcaf15b1a69881b31f198ee72 (patch)
treeea7e78cb189e6df4d2ea6279a18a860f3976ae95 /drivers/bluetooth/btmrvl_drv.h
parent3d5a76f08bbac55305da87f4c810279189f64297 (diff)
downloadlinux-0d3674084c89130bcaf15b1a69881b31f198ee72.tar.gz
linux-0d3674084c89130bcaf15b1a69881b31f198ee72.tar.bz2
linux-0d3674084c89130bcaf15b1a69881b31f198ee72.zip
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 {
};
struct btmrvl_adapter {
+ void *hw_regs_buf;
+ u8 *hw_regs;
u32 int_count;
struct sk_buff_head tx_queue;
u8 psmode;