浏览代码

[media] v4l: ti-vpe: Rename csc memory resource name

Rename the memory block resource "vpe_csc" to "csc" since it also exists within
the VIP IP block. This would make the name more generic, and both VPE and VIP DT
nodes in the future can use it.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Archit Taneja 11 年之前
父节点
当前提交
536954f1e9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/media/platform/ti-vpe/csc.c

+ 1 - 1
drivers/media/platform/ti-vpe/csc.c

@@ -180,7 +180,7 @@ struct csc_data *csc_create(struct platform_device *pdev)
 	csc->pdev = pdev;
 	csc->pdev = pdev;
 
 
 	csc->res = platform_get_resource_byname(pdev, IORESOURCE_MEM,
 	csc->res = platform_get_resource_byname(pdev, IORESOURCE_MEM,
-			"vpe_csc");
+			"csc");
 	if (csc->res == NULL) {
 	if (csc->res == NULL) {
 		dev_err(&pdev->dev, "missing platform resources data\n");
 		dev_err(&pdev->dev, "missing platform resources data\n");
 		return ERR_PTR(-ENODEV);
 		return ERR_PTR(-ENODEV);