diff options
author | Arun Murthy <arun.murthy@stericsson.com> | 2012-01-24 15:57:26 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:07:25 +0200 |
commit | 90f2a2c4152a251b0bfad40d7fdc512f543cd5ce (patch) | |
tree | dcfa761033871f5c0bbbd7459f5b28a38f8a4734 /drivers/gator/gator_annotate_kernel.c | |
parent | 5c509223e311766d48f03e1be403cf33ddd526de (diff) |
u8500-shrm: add timer to check if modem has stuck or hang
On APE sending msg_pend notification, the only way when APE gets to know that
modem is not responsive, is when it ends up with a FIFO full. In order to get
this FIFO full on common channel it might take 30min. Hence add a timer and
start the timer on msg_pend_notification and cancel the timer at read_noti.
If timer expires within this time then its for sure that modem is not
responsive. Initiate MSR in that case.
The current timer value is 6sec.
Since there are two timers and on expiry of either of the timer, modem_reset
is called, have added flag so as to ensure that modem_rest is not called
simultaneously on exit of both the timer in short span of time.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 407459
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: If3e7b61ee57ea4b1d386a50c8c4b99c2cd701e13
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46337
Reviewed-by: Ashok G X <ashok.g@stericsson.com>
Tested-by: Ashok G X <ashok.g@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'drivers/gator/gator_annotate_kernel.c')
0 files changed, 0 insertions, 0 deletions