serial: samsung: enable clock before clearing pending interrupts during init
authorChander Kashyap <chander.kashyap@linaro.org>
Tue, 28 May 2013 13:02:07 +0000 (18:32 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 17:08:28 +0000 (10:08 -0700)
commit60e93575476f90a72146b51283f514da655410a7
treea5834d5b67018cf1449d986f60055b60bff3462f
parentbff09b099b31a31573b3c5943f805f6a08c714f0
serial: samsung: enable clock before clearing pending interrupts during init

Ensure that the uart controller clock is enabled prior to writing to the
interrupt mask and pending registers in the s3c24xx_serial_init_port
function.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.c