summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>2011-10-13 11:29:27 +0000
committerDavid S. Miller <davem@davemloft.net>2011-10-19 03:25:42 -0400
commit28bd2049428202cb3bc982536ed3de3c69ae120a (patch)
tree6e1ce1e4e35c8e7fa448c7e8cb3549393a3d6239 /include
parentca63f8c7512acbd1171bbabefc7a7765ce117939 (diff)
downloadlinux-28bd2049428202cb3bc982536ed3de3c69ae120a.tar.gz
linux-28bd2049428202cb3bc982536ed3de3c69ae120a.tar.bz2
linux-28bd2049428202cb3bc982536ed3de3c69ae120a.zip
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 {
struct cfhsi_dev *dev;
int tx_state;
struct cfhsi_rx_state rx_state;
+ unsigned long inactivity_timeout;
int rx_len;
u8 *rx_ptr;
u8 *tx_buf;