aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>2011-10-13 07:29:27 -0400
committerDavid S. Miller <davem@davemloft.net>2011-10-19 03:25:42 -0400
commit28bd2049428202cb3bc982536ed3de3c69ae120a (patch)
tree6e1ce1e4e35c8e7fa448c7e8cb3549393a3d6239 /include
parentca63f8c7512acbd1171bbabefc7a7765ce117939 (diff)
caif-hsi: Make inactivity timeout configurable.
CAIF HSI uses a timer for inactivity. Upon timeout HSI-wake signaling is initiated to allow power-down of the HSI block. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/caif/caif_hsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/caif/caif_hsi.h b/include/net/caif/caif_hsi.h
index 17dff451efe3..9b69d153c94a 100644
--- a/include/net/caif/caif_hsi.h
+++ b/include/net/caif/caif_hsi.h
@@ -131,6 +131,7 @@ struct cfhsi {
131 struct cfhsi_dev *dev; 131 struct cfhsi_dev *dev;
132 int tx_state; 132 int tx_state;
133 struct cfhsi_rx_state rx_state; 133 struct cfhsi_rx_state rx_state;
134 unsigned long inactivity_timeout;
134 int rx_len; 135 int rx_len;
135 u8 *rx_ptr; 136 u8 *rx_ptr;
136 u8 *tx_buf; 137 u8 *tx_buf;