]> git.baikalelectronics.ru Git - kernel.git/commit
tty: atmel_serial: prepare clk before calling enable
authorBoris BREZILLON <b.brezillon@overkiz.com>
Wed, 19 Jun 2013 11:17:30 +0000 (13:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2013 23:35:03 +0000 (16:35 -0700)
commit6b1925ff5edc4531a985cec11ca24cb6f4330905
treeb7c7f6904e42ab4e3b64f056eec9fdd4faf164cc
parentb03082ef7228590b290a99367c9974e95e2bd5ee
tty: atmel_serial: prepare clk before calling enable

Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c