* arun c <arunedarath@xxxxxxxxxxxxxxxxxxxx> [080507 00:31]: > 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. Pushing today. Tony > ############################################ > 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html