summaryrefslogtreecommitdiff
path: root/drivers/tty/sysrq.c
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2022-07-12 17:07:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-14 17:33:26 +0300
commit1d46c08d246e2e0a2d81985727392a5a8348d06a (patch)
treeaee33b3133fed9b229e6e130f6a87e50367dc63a /drivers/tty/sysrq.c
parent806a449725cbd679a7f52c394d3c87b451d66bd5 (diff)
downloadlinux-1d46c08d246e2e0a2d81985727392a5a8348d06a.tar.xz
tty: serial: samsung_tty: fix s3c24xx_serial_set_mctrl()
S3C2410_UCON is a 32bit register, so it must be read with rd_regl() instead of rd_reg(), otherwise the upper bits will be zeroed. Fix this. Fixes: 72a43046b61a ("tty: serial: samsung_tty: loopback mode support") Tested-by: Chanho Park <chanho61.park@samsung.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Chanho Park <chanho61.park@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://lore.kernel.org/r/20220712140745.30362-1-m.szyprowski@samsung.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/sysrq.c')
0 files changed, 0 insertions, 0 deletions