From patchwork Tue Nov 22 09:41:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 83359 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp2003980qge; Tue, 22 Nov 2016 01:42:06 -0800 (PST) X-Received: by 10.99.117.71 with SMTP id f7mr42166102pgn.126.1479807726247; Tue, 22 Nov 2016 01:42:06 -0800 (PST) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id t16si15283428pgo.286.2016.11.22.01.42.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Nov 2016 01:42:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2735B6E266; Tue, 22 Nov 2016 09:41:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6CE9A6E266 for ; Tue, 22 Nov 2016 09:41:33 +0000 (UTC) Received: by mail-wm0-x233.google.com with SMTP id g23so15133244wme.1 for ; Tue, 22 Nov 2016 01:41:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=rFRn0ikeCiLndtJ4N9LQiB5w3vL0fcZYrdupq2WlYx8=; b=O/Y2Hs5ZFrqYJBThiWmKQZpt+qfFV49CUcoExY824UUoNfo/puKQr683cc/qf+Qki+ xD7vfWo/jvq0/MpAJSyJiqKlEahiVS6BJL/QFZqLpCGS93hZgncyAVYSopFh1J55/Ar8 vQgtubM7C55KpfR5rhiSGRqZQVpHWgajQVMm/uj9VUOzgwbqKFXLtZC8mDbEjMSZSRKJ am3aSxPw5cQ4W1KdFSB2BKTDLcsfJbWjEX6836tcN2ybKPaooslqbO3k7x96+/5y6AYw qxxSm0GRRPdhipH9q9SZEgT0gZBxSBAX+nDBD/4u8QgJ/gM8mXhZP6yYSc4BBOJZ2cKV DUSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rFRn0ikeCiLndtJ4N9LQiB5w3vL0fcZYrdupq2WlYx8=; b=JgnpsPkWenwFGuBx+WjRvIFfkOFFDCfScx8OkRibz+sedN/qZ4DXclNkGeofJzv5VZ kLJ/k1qrFSKy2pybbHUq742WXSllno+ZaemTO86Bi5pBsui4qvqUqj+Ytr5er4nPwfHc UdKb6ZU7jsMYxbnezcPfGK6U7f0fhjHYLA3F9g9oBbjbOCiC2BpsMBuqOZAW8PsnE2hd ccPngUvwZ3M7U40gu6N4yrFeYwEWzLzUnXEUM0Vma7eensUQ0OH9ogaUVNTRw4Nv9YEU Mr2ilgxFN+ZPYC5xI0lSr6YrWVXYjgaIg5fp/i9/vvqaAfw3B3BLFpntdrw4neAvSGym 5QUg== X-Gm-Message-State: AKaTC039sWXh7cu4wogOYPN2lfFvjZTvlyuBKcQZBRj9Zljp5fOsDBf0zu7dRa7P8JrHnZl7 X-Received: by 10.194.93.104 with SMTP id ct8mr15748120wjb.87.1479807691869; Tue, 22 Nov 2016 01:41:31 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id x5sm29802815wje.36.2016.11.22.01.41.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Nov 2016 01:41:31 -0800 (PST) From: Bartosz Golaszewski To: Jyri Sarha , Tomi Valkeinen , David Airlie , Kevin Hilman , Michael Turquette , Sekhar Nori Subject: [PATCH] drm: tilcdc: fix a DT property parsing Date: Tue, 22 Nov 2016 10:41:29 +0100 Message-Id: <1479807689-23804-1-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 Cc: Peter Ujfalusi , Bartosz Golaszewski , LKML , linux-drm , arm-soc X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development 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" The DT binding for tildc is not consistent with the driver code - the option in the binding is called 'max-width' while the code expects 'ti,max-width'. Make the driver code consistent with the binding. Signed-off-by: Bartosz Golaszewski --- 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 a7c91f7..4d3adf8e 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c @@ -302,7 +302,7 @@ static int tilcdc_init(struct drm_driver *ddrv, struct device *dev) DBG("Maximum Bandwidth Value %d", priv->max_bandwidth); - if (of_property_read_u32(node, "ti,max-width", &priv->max_width)) + if (of_property_read_u32(node, "max-width", &priv->max_width)) priv->max_width = TILCDC_DEFAULT_MAX_WIDTH; DBG("Maximum Horizontal Pixel Width Value %dpixels", priv->max_width);