All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 1/5] serial: pxa: prepare/unprepare clocks
@ 2014-11-17 15:07 ` Dmitry Eremin-Solenikov
  0 siblings, 0 replies; 39+ messages in thread
From: Dmitry Eremin-Solenikov @ 2014-11-17 15:07 UTC (permalink / raw)
  To: Robert Jarzmik, Daniel Mack, Haojian Zhuang, Greg Kroah-Hartman,
	Wolfram Sang, Samuel Ortiz, Lee Jones, Felipe Balbi
  Cc: Jiri Slaby, linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-usb-u79uwXL29TY76Z2rM5mHXA

Change clk_enable/disable() calls to clk_prepare_enable() and
clk_disable_unprepare().

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 drivers/tty/serial/pxa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c
index 21b7d8b8..2f4c329 100644
--- a/drivers/tty/serial/pxa.c
+++ b/drivers/tty/serial/pxa.c
@@ -647,7 +647,7 @@ serial_pxa_console_write(struct console *co, const char *s, unsigned int count)
 	unsigned long flags;
 	int locked = 1;
 
-	clk_enable(up->clk);
+	clk_prepare_enable(up->clk);
 	local_irq_save(flags);
 	if (up->port.sysrq)
 		locked = 0;
@@ -674,7 +674,7 @@ serial_pxa_console_write(struct console *co, const char *s, unsigned int count)
 	if (locked)
 		spin_unlock(&up->port.lock);
 	local_irq_restore(flags);
-	clk_disable(up->clk);
+	clk_disable_unprepare(up->clk);
 
 }
 
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2014-11-26 22:39 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-17 15:07 [PATCH V2 1/5] serial: pxa: prepare/unprepare clocks Dmitry Eremin-Solenikov
2014-11-17 15:07 ` Dmitry Eremin-Solenikov
2014-11-17 15:07 ` [PATCH V2 2/5] i2c: " Dmitry Eremin-Solenikov
2014-11-17 15:07   ` Dmitry Eremin-Solenikov
2014-11-17 15:51   ` Russell King - ARM Linux
2014-11-17 15:51     ` Russell King - ARM Linux
     [not found]   ` <1416236863-20898-2-git-send-email-dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-11-17 18:26     ` Wolfram Sang
2014-11-17 18:26       ` Wolfram Sang
     [not found] ` <1416236863-20898-1-git-send-email-dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-11-17 15:07   ` [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp Dmitry Eremin-Solenikov
2014-11-17 15:07     ` Dmitry Eremin-Solenikov
2014-11-17 18:44     ` Robert Jarzmik
2014-11-17 18:44       ` Robert Jarzmik
2014-11-17 20:05       ` Dmitry Eremin-Solenikov
2014-11-17 20:07         ` Russell King - ARM Linux
2014-11-17 20:09         ` Robert Jarzmik
2014-11-17 23:50         ` Dmitry Eremin-Solenikov
2014-11-19 20:29           ` Robert Jarzmik
2014-11-19 21:11             ` Dmitry Eremin-Solenikov
2014-11-22 13:56             ` Robert Jarzmik
2014-11-22 15:44               ` Dmitry Eremin-Solenikov
2014-11-22 17:18                 ` Robert Jarzmik
2014-11-22 17:48                   ` Dmitry Eremin-Solenikov
2014-11-22 17:49                     ` Robert Jarzmik
2014-11-22 17:51                       ` Dmitry Eremin-Solenikov
2014-11-24  7:53                         ` Robert Jarzmik
2014-11-26 22:12                           ` Robert Jarzmik
2014-11-26 22:19                             ` Dmitry Eremin-Solenikov
     [not found]                               ` <87zjbd1tb0.fsf_-_@free.fr>
2014-11-26 22:39                                 ` Lubbock interrupts fix (was lubbock udc phy) Dmitry Eremin-Solenikov
2014-11-18 15:49         ` [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp Felipe Balbi
2014-11-17 15:07   ` [PATCH V2 5/5] mfd: tc6387xb: prepare/unprepare clocks Dmitry Eremin-Solenikov
2014-11-17 15:07     ` Dmitry Eremin-Solenikov
2014-11-18 12:04     ` Lee Jones
2014-11-18 12:04       ` Lee Jones
2014-11-17 15:51   ` [PATCH V2 1/5] serial: pxa: " Russell King - ARM Linux
2014-11-17 15:51     ` Russell King - ARM Linux
2014-11-17 15:07 ` [PATCH V2 4/5] mfd: t7l66xb: " Dmitry Eremin-Solenikov
2014-11-17 15:07   ` Dmitry Eremin-Solenikov
2014-11-18 13:14   ` Lee Jones
2014-11-18 13:14     ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.