aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2013-07-24 11:37:28 -0700
committerGreg Kroah-Hartman <[email protected]>2013-07-26 16:13:29 -0700
commit4a5662d6a6412dabe0b5518bec111e17babbba05 (patch)
treebd8c8bb7a169052f3fed6af81790e8efedd48c19 /include/linux/timerqueue.h
parentfee8bf4b74e37bfeb8998a349cb788680eb3f634 (diff)
msm_serial: Fix NUL byte output on UARTDM
UARTDM serial devices require us to wait for the entire TX fifo to drain before we can change the contents of the NCF_TX register. Furthermore, if we write any characters to the TX fifo within the same clock cycle of changing the NCF_TX register the NCF_TX register won't latch properly. To fix these issues we should read back the NCF_TX register to delay any TX fifo accesses by a clock cycle and we should wait for the TX fifo to drain (instead of just waiting for the fifo to be ready to receive more characters). Failure to do so leads to random NUL bytes interspersed in the output. Signed-off-by: Stephen Boyd <[email protected]> Acked-by: David Brown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions