]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
serial: samsung: Reorder the sequence of clock control when call s3c24xx_serial_set_t...
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 21 Apr 2016 09:58:31 +0000 (18:58 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jun 2016 19:15:53 +0000 (12:15 -0700)
commitdf8ad62006f452ee4902e216e955f1a142cf144f
tree2216ea22fb5517137daf04e92abaddeb0d6c942b
parent430b4aab73830577eb22aa434b35947f87e7ea4b
serial: samsung: Reorder the sequence of clock control when call s3c24xx_serial_set_termios()

commit b8995f527aac143e83d3900ff39357651ea4e0f6 upstream.

This patch fixes the broken serial log when changing the clock source
of uart device. Before disabling the original clock source, this patch
enables the new clock source to protect the clock off state for a split second.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
drivers/tty/serial/samsung.c