From patchwork Tue Oct 20 16:57:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 55323 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id 8998322EA2 for ; Tue, 20 Oct 2015 16:58:53 +0000 (UTC) Received: by lbbxe8 with SMTP id xe8sf7853931lbb.0 for ; Tue, 20 Oct 2015 09:58:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=XOe2icTDLnKsxatAmllqXg0AR0QD3cTwvW87c73mcdk=; b=fVz/OmQiIVz90jyc/DN9lRdmJSAorJshIGugPZrHjUvs/f2AwCWCwEmBRY0By9IsT3 /Dq4lAM0eW1HIvpJ2y7bcFRKzew+/ihuSioT1A9pW7I0w1wOPXmjIwsjO10nyTJbYDGM D7W+QgzKRKvR6N0RtflRA5YAHnQJqRE8RYsVjHHBJ/6JvOb/O24Jy9PNqU+07rJanUz9 l3qigPQ28T28xleKhHSGsRnGPmMqnaZLOqyLVxF9hsQUoUX+1BDYvsNWWW3ije+e2mJ2 k1JCkdLPJ17FBwcxsUmsLjaTXinGaRv1opL3c3Lf3Swvum8NRmEAV4Tf39yh8HqO6t1x WWbw== X-Gm-Message-State: ALoCoQl36gR+KcU6S1zG+kzATkEzQd+ESEJoh2JoIsnsp8c31zhPhPFVRbGcH/GJxOmxipW2rioN X-Received: by 10.112.147.7 with SMTP id tg7mr905842lbb.16.1445360332264; Tue, 20 Oct 2015 09:58:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.148.148 with SMTP id w142ls102890lfd.105.gmail; Tue, 20 Oct 2015 09:58:52 -0700 (PDT) X-Received: by 10.112.135.136 with SMTP id ps8mr2521337lbb.38.1445360332097; Tue, 20 Oct 2015 09:58:52 -0700 (PDT) Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com. [2a00:1450:4010:c07::22c]) by mx.google.com with ESMTPS id n187si3017202lfb.31.2015.10.20.09.58.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 09:58:52 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c07::22c as permitted sender) client-ip=2a00:1450:4010:c07::22c; Received: by lffz202 with SMTP id z202so9013178lff.3 for ; Tue, 20 Oct 2015 09:58:52 -0700 (PDT) X-Received: by 10.25.154.203 with SMTP id c194mr1686665lfe.32.1445360331990; Tue, 20 Oct 2015 09:58:51 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2197578lbq; Tue, 20 Oct 2015 09:58:51 -0700 (PDT) X-Received: by 10.69.0.132 with SMTP id ay4mr5034428pbd.87.1445360331055; Tue, 20 Oct 2015 09:58:51 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sh4si6414418pac.159.2015.10.20.09.58.50; Tue, 20 Oct 2015 09:58:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752778AbbJTQ6o (ORCPT + 6 others); Tue, 20 Oct 2015 12:58:44 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:38350 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752677AbbJTQ6i (ORCPT ); Tue, 20 Oct 2015 12:58:38 -0400 Received: by wicll6 with SMTP id ll6so38077905wic.1 for ; Tue, 20 Oct 2015 09:58:37 -0700 (PDT) X-Received: by 10.194.7.232 with SMTP id m8mr5453681wja.56.1445360317590; Tue, 20 Oct 2015 09:58:37 -0700 (PDT) Received: from mms.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.googlemail.com with ESMTPSA id ex17sm20092069wid.23.2015.10.20.09.58.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 09:58:36 -0700 (PDT) From: Georgi Djakov To: sboyd@codeaurora.org, agross@codeaurora.org Cc: mturquette@baylibre.com, linux-clk@vger.kernel.org, bjorn.andersson@sonymobile.com, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH v3 3/8] clk: qcom: msm8916: Ignore sleep_clk_src registration errors Date: Tue, 20 Oct 2015 19:57:55 +0300 Message-Id: <1445360280-2347-4-git-send-email-georgi.djakov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1445360280-2347-1-git-send-email-georgi.djakov@linaro.org> References: <1445360280-2347-1-git-send-email-georgi.djakov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Original-Sender: georgi.djakov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c07::22c as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , We are moving the sleep clock to the DT. While all patches are merged, we will ignore sleep_clk_src registration errors. By ignoring this error, the msm8916 boards will continue booting during this transition period, otherwise the clock controller initialization will fail. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-msm8916.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c index 3c0668b12142..4bb7d8415ba7 100644 --- a/drivers/clk/qcom/gcc-msm8916.c +++ b/drivers/clk/qcom/gcc-msm8916.c @@ -3364,10 +3364,8 @@ static int gcc_msm8916_probe(struct platform_device *pdev) if (IS_ERR(clk)) return PTR_ERR(clk); - clk = clk_register_fixed_rate(dev, "sleep_clk_src", NULL, - CLK_IS_ROOT, 32768); - if (IS_ERR(clk)) - return PTR_ERR(clk); + clk_register_fixed_rate(dev, "sleep_clk_src", NULL, + CLK_IS_ROOT, 32768); return qcom_cc_probe(pdev, &gcc_msm8916_desc); }