aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2014-05-13 17:08:34 +0100
committerDaniel Thompson <daniel.thompson@linaro.org>2014-05-13 17:08:34 +0100
commit8a73c2acf11703cfec7613d8a914b5169c47dd3f (patch)
tree72db5dfae1480524e4c2730a8971eb82ed2f94cf /sound
parent30321c7b658a5661eea715b33e82a5fd3e33e180 (diff)
serial: st-asc: Fix data corruption during long console burstsbugs/st-asc-avalanche
On my test platform (B2020/STiH416) the serial port issues bad characters during the initial message avalanche as the console comes up. The problem also occurs when dense(ish) I/O is done using the polled I/O interface. The problem is fixed for me by using the FIFO half-empty bit rather than FIFO full bit. Note that using the half-empty bit causes the FIFO to be managed in a similar way to interrupt based I/O (i.e. where the hardware gets best test coverage). Running the FIFO half full will have no impact (good or bad) on console performance. The UART will still remain fully saturated and the busy-wait until the FIFO is empty in asc_console_write() will complete at the same time. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions