Shubhrajyoti D 39aee51d43 serial: omap: Make context_loss_cnt signed
get_context_loss_count returns an int however it is stored in
unsigned integer context_loss_cnt . This patch tries to make
context_loss_cnt int. So that in case of errors the value
(which may be negative) is not interpreted wrongly.

In serial_omap_runtime_resume in case of errors returned by
get_context_loss_count print a warning and do a restore.

Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-25 11:29:10 -07:00
..
2012-09-05 13:28:35 -07:00
2012-08-13 16:50:19 -07:00
2012-09-05 13:28:35 -07:00
2012-09-05 13:28:35 -07:00
2012-09-05 13:28:35 -07:00
2011-03-31 11:26:23 -03:00
2012-08-10 12:55:47 -07:00
2012-10-22 16:58:28 -07:00
2012-08-13 16:50:19 -07:00
2012-10-22 16:58:28 -07:00
2012-08-13 16:50:19 -07:00
2012-09-05 13:28:35 -07:00
2012-09-05 13:28:35 -07:00
2012-10-22 16:58:28 -07:00
2012-10-22 16:58:28 -07:00