serial: samsung: enable clock before accessing interrupt mask resister
author남영민 <youngmin.nam@samsung.com>
Wed, 1 Feb 2017 10:25:46 +0000 (19:25 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2017 09:12:16 +0000 (10:12 +0100)
commita8a1781b87266a1b006e2223581facd0517e555b
tree83d275fcad7121453d6a0e689eabacb2c1db5be0
parent5d1a2388edee77930c8b542cf8be0c92342dbeb4
serial: samsung: enable clock before accessing interrupt mask resister

Ensure that the uart clock is enabled prior to writing to the
interrupt mask register in s3c24xx_serial_resume_noirq function.
Without enabing the uart clock, the uart register cannot be accessed.

Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.c