From patchwork Fri Feb 6 12:52:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 44478 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B96F721529 for ; Fri, 6 Feb 2015 12:52:33 +0000 (UTC) Received: by mail-lb0-f199.google.com with SMTP id f15sf10659157lbj.2 for ; Fri, 06 Feb 2015 04:52:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:subject:date :message-id:in-reply-to:references:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=pQvQTm8lwKSXL3rrjdoJg3vCx/i0tkfaJ5dgKXGfmAo=; b=OYVHCtVRgMg0oLleOiP9IXmvz9kHGBYA6PEYJG3XZr8Y96zHgX4nl4GeeCIuoo6rGw JvfoNbT1wP4lNfZV9EG+P3+RmsxxE1h62SenK7c02VoAdnnDnwj1R4ZIJeSM7RP2zV0x Ovhh91AmbNJ3csFHiyFBGB3kWf1IaQUujBRNDZFfRWoBKPkTA/HErb2h7JGuN14HtvB1 7Eami45iLOWLnmBFTInXDeLFRr4dXf/pI9BA4vd+IDUOaXiBjo0lWJx1TtbJdBikoykD QIYS56r4zN0vY4mFA5DS/pFqvPR9NFkQ6N+is8fHd/JkL4FiMTWkVptov+0EgApIzD/D vSKA== X-Gm-Message-State: ALoCoQnHO2e/QS4JkmX+KgvazL4hvE/G8Nb2eIphYqIbTGQwIooZqd37q4jMid3W9RL2xBdBDHxY X-Received: by 10.112.143.167 with SMTP id sf7mr428974lbb.0.1423227152692; Fri, 06 Feb 2015 04:52:32 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.1.6 with SMTP id 6ls281939lai.24.gmail; Fri, 06 Feb 2015 04:52:32 -0800 (PST) X-Received: by 10.152.87.16 with SMTP id t16mr2484674laz.63.1423227152395; Fri, 06 Feb 2015 04:52:32 -0800 (PST) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id q10si1275332laq.122.2015.02.06.04.52.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Feb 2015 04:52:32 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id u14so17671374lbd.2 for ; Fri, 06 Feb 2015 04:52:32 -0800 (PST) X-Received: by 10.112.181.41 with SMTP id dt9mr2607136lbc.56.1423227152261; Fri, 06 Feb 2015 04:52:32 -0800 (PST) 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.35.133 with SMTP id h5csp1781925lbj; Fri, 6 Feb 2015 04:52:31 -0800 (PST) X-Received: by 10.66.138.72 with SMTP id qo8mr5692329pab.84.1423227150223; Fri, 06 Feb 2015 04:52:30 -0800 (PST) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id is2si10169601pbb.146.2015.02.06.04.52.29; Fri, 06 Feb 2015 04:52:30 -0800 (PST) Received-SPF: none (google.com: dri-devel-bounces@lists.freedesktop.org does not designate permitted sender hosts) client-ip=131.252.210.177; Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A71756E924; Fri, 6 Feb 2015 04:52:28 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by gabe.freedesktop.org (Postfix) with ESMTP id 16D356E924 for ; Fri, 6 Feb 2015 04:52:27 -0800 (PST) Received: by mail-wg0-f46.google.com with SMTP id l2so13358931wgh.5 for ; Fri, 06 Feb 2015 04:52:26 -0800 (PST) X-Received: by 10.194.200.68 with SMTP id jq4mr2097130wjc.128.1423227145900; Fri, 06 Feb 2015 04:52:25 -0800 (PST) Received: from lmenx321.st.com. (lya72-2-88-175-155-153.fbx.proxad.net. [88.175.155.153]) by mx.google.com with ESMTPSA id hr1sm1392601wib.1.2015.02.06.04.52.21 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 06 Feb 2015 04:52:24 -0800 (PST) From: Benjamin Gaignard To: dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, airlied@redhat.com Subject: [PATCH 1/5] drm: sti: fix check for clk_pix_main Date: Fri, 6 Feb 2015 13:52:05 +0100 Message-Id: <1423227129-17588-2-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1423227129-17588-1-git-send-email-benjamin.gaignard@linaro.org> References: <1423227129-17588-1-git-send-email-benjamin.gaignard@linaro.org> Cc: Jassi Brar X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: benjamin.gaignard@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Jassi Brar copy-paste wasn't followed by editing, do it. Signed-off-by: Jassi Brar --- drivers/gpu/drm/sti/sti_hqvdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c index f3db05d..b0eb62d 100644 --- a/drivers/gpu/drm/sti/sti_hqvdp.c +++ b/drivers/gpu/drm/sti/sti_hqvdp.c @@ -1025,7 +1025,7 @@ static int sti_hqvdp_probe(struct platform_device *pdev) /* Get clock resources */ hqvdp->clk = devm_clk_get(dev, "hqvdp"); hqvdp->clk_pix_main = devm_clk_get(dev, "pix_main"); - if (IS_ERR(hqvdp->clk) || IS_ERR(hqvdp->clk)) { + if (IS_ERR(hqvdp->clk) || IS_ERR(hqvdp->clk_pix_main)) { DRM_ERROR("Cannot get clocks\n"); return -ENXIO; }