diff options
author | Jay Cheng <jacheng@nvidia.com> | 2010-08-19 07:09:49 -0400 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2010-10-06 16:28:09 -0700 |
commit | 03b85005e5dc138baa22e91e9f8f3af5d610ef0e (patch) | |
tree | 868d3a56b3489af095a871d60c9070f3e47ceb3b /drivers/mmc | |
parent | 40ac8c757b76127c7b204488de24e81cddaa3f5d (diff) |
serial: tegra_hsuart: fix receive DMA, RTS, timeout, and tx trigger
initialize baud rate and configuration settings to safe default values
when receive DMA is in use, so that the DMA request may be enqueued at
initialization time
re-enqueue the receive DMA buffer immediately it is dequeued by the
DMA threshold callback and the receive ISR, rather than waiting for the
DMA complete callback
originally fixed by Gary King <gking@nvidia.com>
Fixing tx trigger level setting:
On tegra uart, the FCR setting for different tx trigger level
is not same as the 16550 tx trigger level setting. The tegra
uart have the setting in reverse direction on tx fifo attention
level:
b00 for 16 bytes attention level.
b01 for 8 byte attention level.
b10 for 4 byte attention level
b11 for 1 byte attention level.
The rx trigger attention level match with the standard uart
FCR register setttings.
Also fixing the typo in code when setting DTR.
originally fixed by Laxman Dewangan (ldewangan@nvidia.com)
Change-Id: Iea00478f143e61c604828035c6c92d614fa7cccb
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions