projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3672583
)
drm/tilcdc: fix parsing of some DT properties
author
Bartosz Golaszewski
<bgolaszewski@baylibre.com>
Mon, 28 Nov 2016 11:37:23 +0000
(12:37 +0100)
committer
Jyri Sarha
<jsarha@ti.com>
Wed, 30 Nov 2016 12:20:16 +0000
(14:20 +0200)
The DT binding for tildc is not consistent with the driver code: there
are two options - 'max-width' and 'max-pixelclock' specified in the
documentation which are parsed as 'ti,max-width' and
'ti,max-pixelclock' respectively.
Make the driver code consistent with the binding.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index 5efb3694824984bff8443b15da11c3cb46a5d6c4..bd0a3bd071673788427cd02a95817476d3687716 100644
(file)
--- a/
drivers/gpu/drm/tilcdc/tilcdc_drv.c
+++ b/
drivers/gpu/drm/tilcdc/tilcdc_drv.c
@@
-296,12
+296,12
@@
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);
- if (of_property_read_u32(node, "
ti,
max-pixelclock",
+ if (of_property_read_u32(node, "max-pixelclock",
&priv->max_pixelclock))
priv->max_pixelclock = TILCDC_DEFAULT_MAX_PIXELCLOCK;