From patchwork Tue Jun 19 21:38:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9453 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 8D85623E4F for ; Tue, 19 Jun 2012 21:38:53 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 4E7FDA184C0 for ; Tue, 19 Jun 2012 21:38:53 +0000 (UTC) Received: by ghbz12 with SMTP id z12so5560691ghb.11 for ; Tue, 19 Jun 2012 14:38:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :x-gm-message-state; bh=s+kg7HxtJl+x3ppjjN5yKfP7oLnUo83kMxPRmxHHtA8=; b=YMkjVE9ZiJII7Hi1JDDSUcUJFM5/dJ6hwsQQMsK0IWZT08Nminjy6/GDTuwvXoN6SL wI/jeucxP+QnTTiv+idJPAQzm2Owt+u2lvFIMu1CY9UxHA34ANJaCXr07kKX3NLiBqwQ 7qJuEUFJE9YHK2ydaCALLYs+9D075d3aCIAHVrf7rRkQ2sawdlmmdw8hTbTbOyb/oYPo QeB0USH56MSgz/8QjbClYMaeb4o4767Y6bdovFxmsHs6EOpEZcY6VC7aqO+wIUbPmV0O 96kDvTSNc/LCnfmFCFNA8aZrKiW1kRDKUJLR+7dFQhU+eseY4PfmhtFXP+fysbhmmDf+ K57A== Received: by 10.50.40.193 with SMTP id z1mr2753207igk.0.1340141932512; Tue, 19 Jun 2012 14:38:52 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp146968ibb; Tue, 19 Jun 2012 14:38:51 -0700 (PDT) Received: by 10.14.100.142 with SMTP id z14mr4754721eef.91.1340141931275; Tue, 19 Jun 2012 14:38:51 -0700 (PDT) Received: from eu1sys200aog110.obsmtp.com (eu1sys200aog110.obsmtp.com. [207.126.144.129]) by mx.google.com with SMTP id a49si10822381eeg.29.2012.06.19.14.38.43 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jun 2012 14:38:50 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.129 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.129; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.129 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob110.postini.com ([207.126.147.11]) with SMTP ID DSNKT+DxYpct2XSq30DT982wU3hsqlzx1VSP@postini.com; Tue, 19 Jun 2012 21:38:50 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 7FBF7AB; Tue, 19 Jun 2012 21:30:17 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 8E57A98A; Tue, 19 Jun 2012 21:38:36 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id 37E01A8065; Tue, 19 Jun 2012 23:38:27 +0200 (CEST) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 19 Jun 2012 23:38:35 +0200 From: Linus Walleij To: , Cc: Stephen Warren , Linus Walleij Subject: [PATCH] pinctrl/coh901: use clk_prepare_enable() Date: Tue, 19 Jun 2012 23:38:32 +0200 Message-ID: <1340141912-13111-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.9.2 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlFXoAi/MV4WttaHhs/vtY+SKkcalCTOkP824T4XVpzfhQE3XJctqM+76BttuEBYO0nBSVH From: Linus Walleij The COH901 GPIO driver did not prepare its clock, so let us fix it to do so. Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-coh901.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-coh901.c b/drivers/pinctrl/pinctrl-coh901.c index 55697a5..1b5d232a 100644 --- a/drivers/pinctrl/pinctrl-coh901.c +++ b/drivers/pinctrl/pinctrl-coh901.c @@ -770,7 +770,7 @@ static int __init u300_gpio_probe(struct platform_device *pdev) dev_err(gpio->dev, "could not get GPIO clock\n"); goto err_no_clk; } - err = clk_enable(gpio->clk); + err = clk_prepare_enable(gpio->clk); if (err) { dev_err(gpio->dev, "could not enable GPIO clock\n"); goto err_no_clk_enable;