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>
This commit is contained in:
Dmitry Tarnyagin
2011-10-13 11:29:27 +00:00
committed by David S. Miller
parent ca63f8c751
commit 28bd204942
2 changed files with 24 additions and 5 deletions
+1
View File
@@ -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;