summaryrefslogtreecommitdiff
path: root/kernel/time
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2018-08-26 19:49:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-10 08:53:17 +0200
commitab0721893efdd043bb2da86e000a321ea6e3c222 (patch)
tree756b5ff582454ccdcd2d72f583a4871ebe8c40b2 /kernel/time
parentcdd48f386d7e6671e7cc21e517ae258b298ec877 (diff)
serial: mvebu-uart: Fix reporting of effective CSIZE to userspace
commit e0bf2d4982fe7d9ddaf550dd023803ea286f47fc upstream. Apparently, this driver (or the hardware) does not support character length settings. It's apparently running in 8-bit mode, but it makes userspace believe it's in 5-bit mode. That makes tcsetattr with CS8 incorrectly fail, breaking e.g. getty from busybox, thus the login shell on ttyMVx. Fix by hard-wiring CS8 into c_cflag. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Fixes: 30530791a7a0 ("serial: mvebu-uart: initial support for Armada-3700 serial port") Cc: stable <stable@vger.kernel.org> # 4.6+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions