From patchwork Tue Feb 18 12:56:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Jacques Hiblot X-Patchwork-Id: 3677711 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B3DAE9F1EE for ; Wed, 19 Feb 2014 03:01:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B8771201CD for ; Wed, 19 Feb 2014 03:01:49 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 42B25201BA for ; Wed, 19 Feb 2014 03:01:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 693B0FAC9D; Tue, 18 Feb 2014 19:01:33 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by gabe.freedesktop.org (Postfix) with ESMTP id 912F0FA960 for ; Tue, 18 Feb 2014 05:00:10 -0800 (PST) Received: by mail-wi0-f172.google.com with SMTP id e4so3443023wiv.17 for ; Tue, 18 Feb 2014 05:00:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id; bh=dulD43Y3FuwUvaOXn+ncrlJoLKeJ+WmLQMeKtF/uB6o=; b=IM5MhldpdK5iK52o33v05g7NWK6TSE5+CGE15OBp6UIBq20xu610uUVoSSINzVuHnW eytfH1/2zYElHnFwSPx1ZPVZjtz8wHd7lsktxpZ72BpNBqgZn22YUcYsXGC0edwqAc6F 4sBZ4fFGEJXzMgrR05ju1I4Zx69v1S1veqXusaN61JBKgQ/18pBqiHyoa0Gw9FiF+a5X 4asQcXMBYcnJtuGq2169LtAiqG6Q1cNqQjKU4KbGTRZw2hJs9nO3Le5ySOHlBHgPokdi N/zaoWBGZxEbgZ9uBdEWOjieo1XA+yj6s1HUwne7v3pINqBCl7KUHVsY2jBIthcCJtOJ 2grw== X-Received: by 10.194.134.132 with SMTP id pk4mr1588069wjb.82.1392728407013; Tue, 18 Feb 2014 05:00:07 -0800 (PST) Received: from stedf17-labo202.ds.jdsu.net. (4-161.80-90.static-ip.oleane.fr. [90.80.161.4]) by mx.google.com with ESMTPSA id ff7sm41883214wic.10.2014.02.18.05.00.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Feb 2014 05:00:06 -0800 (PST) From: Jean-Jacques Hiblot To: airlied@linux.ie, robdclark@gmail.com, daniel.vetter@ffwll.ch Subject: [PATCH] drm: ti: lcdc: Fixed an error check in the clock initialization Date: Tue, 18 Feb 2014 13:56:55 +0100 Message-Id: <1392728215-8521-1-git-send-email-jjhiblot@traphandler.com> X-Mailer: git-send-email 1.9.0 X-Mailman-Approved-At: Tue, 18 Feb 2014 19:01:31 -0800 Cc: stable@vger.kernel.org, Jean-Jacques Hiblot , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Jean-Jacques Hiblot --- Hi, this is a simple patch to fix a copy/paste error in the init code of the driver. The problem is also present in the v3.10 stable tree cheers, Jean-Jacques drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index 171a820..f10bc56 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c @@ -200,7 +200,7 @@ static int tilcdc_load(struct drm_device *dev, unsigned long flags) } priv->disp_clk = clk_get(dev->dev, "dpll_disp_ck"); - if (IS_ERR(priv->clk)) { + if (IS_ERR(priv->disp_clk)) { dev_err(dev->dev, "failed to get display clock\n"); ret = -ENODEV; goto fail;