From patchwork Sat Jan 17 07:18:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 43281 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BF0B32034D for ; Sun, 18 Jan 2015 18:02:07 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id r20sf1122478wiv.2 for ; Sun, 18 Jan 2015 10:02:07 -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: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=M4RhZdd/iPyoFJY2d7T5gfqGF4riG0RA/eTJfRJ9HP8=; b=I/DsC+bMSZkT5TkpxRS7s0+1q/G3VVMyVEqptABoSvGGZTNsS4eqGqRZZK8qTDkAEw 3Clu8wRQQkwdCkAJbAvUb2COlu7i/9x591D3eqHeW0DEXcsjkw0ohv1UJBaQswmXJuaf 1lDj8s/kOQik51v/pgZQOM6lAl+WOh+Fmse7q6h8ZxFbZxUj4MU6hGYlFYR//lKWbd+o 0icIi7eOSw//GuL0dIstbOps7AmwIOEM35exNG9OTmMqTqakzvOdmn8FEiDRRYFrg5Uj RbGkVA6z/A7yx9fOqsiD4zlRefGqj0YLTsACeKtKloNz/YImsNRs/5MnpavxCh1+fmJk 3goA== X-Gm-Message-State: ALoCoQlrfvLD8Px4rnqk9OrLKhHZgVDgbk5iIHlA+Q7g+ORtEDGpOTdrwfAlvRQLfNp1SyOiOVTp X-Received: by 10.152.115.241 with SMTP id jr17mr197727lab.0.1421604126821; Sun, 18 Jan 2015 10:02:06 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.97 with SMTP id j1ls61292laj.28.gmail; Sun, 18 Jan 2015 10:02:06 -0800 (PST) X-Received: by 10.112.125.41 with SMTP id mn9mr25501638lbb.80.1421604126679; Sun, 18 Jan 2015 10:02:06 -0800 (PST) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id zy1si8650892lbb.12.2015.01.18.10.02.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 18 Jan 2015 10:02:06 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id q1so10069890lam.2 for ; Sun, 18 Jan 2015 10:02:06 -0800 (PST) X-Received: by 10.152.23.38 with SMTP id j6mr25794104laf.81.1421604126238; Sun, 18 Jan 2015 10:02:06 -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.9.200 with SMTP id c8csp875890lbb; Sun, 18 Jan 2015 10:02:05 -0800 (PST) X-Received: by 10.70.22.164 with SMTP id e4mr10858104pdf.24.1421604124478; Sun, 18 Jan 2015 10:02:04 -0800 (PST) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id l11si12806613pdj.98.2015.01.18.10.02.03; Sun, 18 Jan 2015 10:02:04 -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 475706E44A; Sun, 18 Jan 2015 10:02:01 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by gabe.freedesktop.org (Postfix) with ESMTP id 916A66E30E for ; Fri, 16 Jan 2015 23:18:30 -0800 (PST) Received: by mail-pa0-f54.google.com with SMTP id fb1so28612400pad.13 for ; Fri, 16 Jan 2015 23:18:29 -0800 (PST) X-Received: by 10.66.102.103 with SMTP id fn7mr28411480pab.113.1421479109518; Fri, 16 Jan 2015 23:18:29 -0800 (PST) Received: from localhost.localdomain ([59.91.204.135]) by mx.google.com with ESMTPSA id pg6sm5809115pbb.96.2015.01.16.23.18.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Jan 2015 23:18:28 -0800 (PST) From: Jassi Brar To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm: sti: fix check for clk_pix_main Date: Sat, 17 Jan 2015 12:48:05 +0530 Message-Id: <1421479085-27493-1-git-send-email-jaswinder.singh@linaro.org> X-Mailer: git-send-email 1.9.1 X-Mailman-Approved-At: Sun, 18 Jan 2015 10:01:59 -0800 Cc: airlied@redhat.com, benjamin.gaignard@linaro.org, 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: jaswinder.singh@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.215.43 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 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; }