From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH v2] serial: imx: remove the uart_console() check Date: Tue, 2 Jul 2013 00:08:36 +0800 Message-ID: <20130701160833.GC14172@S2101-09.ap.freescale.net> References: <1372397982-19017-1-git-send-email-b32955@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1372397982-19017-1-git-send-email-b32955@freescale.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Huang Shijie Cc: fabio.estevam@freescale.com, gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org List-Id: linux-serial@vger.kernel.org On Fri, Jun 28, 2013 at 01:39:42PM +0800, Huang Shijie wrote: > The uart_console() check makes the clocks(clk_per and clk_ipg) opened > even when we close the console uart. > > This patch enable/disable the clocks in imx_console_write(), > so we can keep the clocks closed when the console uart is closed. > > Also remove the clock enable/disable oprations in the probe, we do not > need them any more. > > Signed-off-by: Huang Shijie Acked-by: Shawn Guo From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawn.guo@linaro.org (Shawn Guo) Date: Tue, 2 Jul 2013 00:08:36 +0800 Subject: [PATCH v2] serial: imx: remove the uart_console() check In-Reply-To: <1372397982-19017-1-git-send-email-b32955@freescale.com> References: <1372397982-19017-1-git-send-email-b32955@freescale.com> Message-ID: <20130701160833.GC14172@S2101-09.ap.freescale.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Jun 28, 2013 at 01:39:42PM +0800, Huang Shijie wrote: > The uart_console() check makes the clocks(clk_per and clk_ipg) opened > even when we close the console uart. > > This patch enable/disable the clocks in imx_console_write(), > so we can keep the clocks closed when the console uart is closed. > > Also remove the clock enable/disable oprations in the probe, we do not > need them any more. > > Signed-off-by: Huang Shijie Acked-by: Shawn Guo