summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorJason Uy <jason.uy@broadcom.com>2017-01-11 20:48:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 14:20:23 +0100
commit6a171b29937984a5e0bf29d6577b055998f03edb (patch)
tree2f12b20fce4fe7fdfc405426657526abb2faa5bc /drivers/dma
parentserial: sh-sci: Compute the regshift value for SCI ports (diff)
downloadlinux-6a171b29937984a5e0bf29d6577b055998f03edb.tar.xz
linux-6a171b29937984a5e0bf29d6577b055998f03edb.zip
serial: 8250_dw: Allow hardware flow control to be used
In the most common use case, the Synopsys DW UART driver does not set the set_termios callback function. This prevents UPSTAT_AUTOCTS from being set when the UART flag CRTSCTS is set. As a result, the driver will use software flow control as opposed to hardware flow control. To fix the problem, the set_termios callback function is set to the DW specific function. The logic to set UPSTAT_AUTOCTS is moved so that any clock error will not affect setting the hardware flow control. Reviewed-by: Scott Branden <scott.branden@broadcom.com> Reviewed-by: Ray Jui <ray.jui@broadcom.com> Signed-off-by: Jason Uy <jason.uy@broadcom.com> Reviewed-by: Kefeng Wang <wangkefeng.wang@huawei.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions