[PATCH] OMAP:DISPC Register name typo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This patch corrects the register name typo in dispc.c.
False read happens just after the reset(reading DISPC_CONTROL returns
zero), this
might be the reason it worked fine without any issue.

############################################
>From 8734c18115caf53121c46002983b6c4763bd7f2b Mon Sep 17 00:00:00 2001
From: arun <arunedarath@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 May 2008 12:25:40 +0530
Subject: [PATCH] OMAP:DISPC Register name typo

DISPC_CONTROL was used instead of DISPC_SYSCONFIG.

Signed-off-by: arun <arunedarath@xxxxxxxxxxxxxxxxxxxx>
---
 drivers/video/omap/dispc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/omap/dispc.c b/drivers/video/omap/dispc.c
index 4c055a2..6aff476 100644
--- a/drivers/video/omap/dispc.c
+++ b/drivers/video/omap/dispc.c
@@ -1393,7 +1393,7 @@ static int omap_dispc_init(struct omapfb_device
*fbdev, int ext_mode,
 	}

 	/* Enable smart idle and autoidle */
-	l = dispc_read_reg(DISPC_CONTROL);
+	l = dispc_read_reg(DISPC_SYSCONFIG);
 	l &= ~((3 << 12) | (3 << 3));
 	l |= (2 << 12) | (2 << 3) | (1 << 0);
 	dispc_write_reg(DISPC_SYSCONFIG, l);
-- 
1.5.3.4

##########################################

Regards,
Arun C
From 8734c18115caf53121c46002983b6c4763bd7f2b Mon Sep 17 00:00:00 2001
From: arun <arunedarath@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 May 2008 12:25:40 +0530
Subject: [PATCH] OMAP:DISPC Register name typo

DISPC_CONTROL was used instead of DISPC_SYSCONFIG.

Signed-off-by: arun <arunedarath@xxxxxxxxxxxxxxxxxxxx>
---
 drivers/video/omap/dispc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/omap/dispc.c b/drivers/video/omap/dispc.c
index 4c055a2..6aff476 100644
--- a/drivers/video/omap/dispc.c
+++ b/drivers/video/omap/dispc.c
@@ -1393,7 +1393,7 @@ static int omap_dispc_init(struct omapfb_device *fbdev, int ext_mode,
 	}
 
 	/* Enable smart idle and autoidle */
-	l = dispc_read_reg(DISPC_CONTROL);
+	l = dispc_read_reg(DISPC_SYSCONFIG);
 	l &= ~((3 << 12) | (3 << 3));
 	l |= (2 << 12) | (2 << 3) | (1 << 0);
 	dispc_write_reg(DISPC_SYSCONFIG, l);
-- 
1.5.3.4


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux