summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_sdio.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_sdio.h
parent3d5a76f08bbac55305da87f4c810279189f64297 (diff)
downloadblackbird-op-linux-0d3674084c89130bcaf15b1a69881b31f198ee72.tar.gz
blackbird-op-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_sdio.h')
-rw-r--r--drivers/bluetooth/btmrvl_sdio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.h b/drivers/bluetooth/btmrvl_sdio.h
index 43d35a609ca9..d4dd3b0fa53d 100644
--- a/drivers/bluetooth/btmrvl_sdio.h
+++ b/drivers/bluetooth/btmrvl_sdio.h
@@ -78,6 +78,9 @@ struct btmrvl_sdio_card_reg {
u8 io_port_0;
u8 io_port_1;
u8 io_port_2;
+ bool int_read_to_clear;
+ u8 host_int_rsr;
+ u8 card_misc_cfg;
};
struct btmrvl_sdio_card {
OpenPOWER on IntegriCloud