]> git.hungrycats.org Git - linux/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:12:48 +0000 (12:12 -0700)
commitba2f0a97678c14bf38430c4afe7574afbdaae43f
tree32f4922b1e3c40922a574a5b9a06a966298574b7
parentde4042934b8da6478b8938fb957d60521370ce96
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