sim: bfin: fix UART LSR read-only bit saturation
authorMike Frysinger <vapier@gentoo.org>
Mon, 9 May 2011 18:14:01 +0000 (18:14 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 9 May 2011 18:14:01 +0000 (18:14 +0000)
commitb44f3f638ee28cb2e77d1768edbb7eeda01ffc61
tree5606c2b111d2b5ff841c7d523923ba8a00db84fe
parent91c1f14cb61e83f86b103d25a4104efc064d2b3b
sim: bfin: fix UART LSR read-only bit saturation

A few bits in the newer UART LSR register are not sticky, so make sure
we clear them when returning updated status rather than leaving them
always set.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/bfin/ChangeLog
sim/bfin/dv-bfin_uart2.c