Thread (14 messages) 14 messages, 6 authors, 2013-06-10
STALE4764d

[PATCH] serial: imx: enable the clocks for console

From: festevam@gmail.com (Fabio Estevam)
Date: 2013-06-08 13:11:07
Also in: linux-serial

Hi Huang,

On Sat, Jun 8, 2013 at 5:04 AM, Huang Shijie [off-list ref] wrote:
+       if (!uart_console(port)) {
+               retval = clk_prepare_enable(sport->clk_per);
+               if (retval)
+                       goto error_out1;
+               retval = clk_prepare_enable(sport->clk_ipg);
+               if (retval)
+                       goto error_out1;
Here you should not jump to "error_out1".

You should jump to a different label and disable the sport->clk_per clock.

This was also wrong in your previous patch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help