Paolo Bonzini bce933b85a serial: simplify tsr_retry reset
Move common code outside the if, and reset tsr_retry even in loopback mode.
Right now it cannot become non-zero, but it will be possible as soon as
we start respecting the baud rate.

Tested-by: Bret Ketchum <bcketchum@gmail.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-06-29 14:03:47 +02:00
..
2016-06-06 16:59:31 +01:00
2016-06-06 18:57:06 +02:00
2016-05-29 09:11:10 +02:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:22 +00:00
2016-05-19 16:42:29 +02:00
2016-05-18 15:04:27 +03:00
2016-05-29 09:11:10 +02:00
2016-05-29 09:11:10 +02:00
2016-01-29 15:07:25 +00:00
2016-01-29 15:07:25 +00:00
2016-06-06 16:59:31 +01:00
2016-05-17 15:50:29 +02:00
2016-06-29 14:03:47 +02:00
2016-01-29 15:07:25 +00:00
2016-01-29 15:07:23 +00:00
2016-06-16 18:39:03 +02:00