]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47524e0adacc0e574ef9e031d6defdf3beb342c9
tree83d275fcad7121453d6a0e689eabacb2c1db5be0
parent88876c1cf5a970347603f9f8a55d1b6de9d20c05
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