From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ns.lynxeye.de ([87.118.118.114] helo=lynxeye.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XlQOn-0006J5-Qe for barebox@lists.infradead.org; Mon, 03 Nov 2014 22:46:58 +0000 Received: from tellur.intern.lynxeye.de (p57B5E6E1.dip0.t-ipconnect.de [87.181.230.225]) by lynxeye.de (Postfix) with ESMTPA id 4D6CC26C2009 for ; Mon, 3 Nov 2014 23:45:17 +0100 (CET) From: Lucas Stach Date: Mon, 3 Nov 2014 23:52:21 +0100 Message-Id: <1415055144-6119-9-git-send-email-dev@lynxeye.de> In-Reply-To: <1415055144-6119-1-git-send-email-dev@lynxeye.de> References: <1415055144-6119-1-git-send-email-dev@lynxeye.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 09/12] serial: ns16550: enable clock if available To: barebox@lists.infradead.org Signed-off-by: Lucas Stach --- drivers/serial/serial_ns16550.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c index 53d48a0..07dedf7 100644 --- a/drivers/serial/serial_ns16550.c +++ b/drivers/serial/serial_ns16550.c @@ -418,6 +418,7 @@ static int ns16550_probe(struct device_d *dev) ret = PTR_ERR(priv->clk); goto err; } + clk_enable(priv->clk); priv->plat.clock = clk_get_rate(priv->clk); } -- 1.9.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox