From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@ti.com (Kevin Hilman) Date: Tue, 01 Feb 2011 17:21:51 -0800 Subject: [PATCH 3/6] omap4: powerdomain: Use intended PWRSTS_* flags instead of values In-Reply-To: <1296212688-21951-4-git-send-email-santosh.shilimkar@ti.com> (Santosh Shilimkar's message of "Fri, 28 Jan 2011 16:34:45 +0530") References: <1296212688-21951-1-git-send-email-santosh.shilimkar@ti.com> <1296212688-21951-4-git-send-email-santosh.shilimkar@ti.com> Message-ID: <87aaifmdsg.fsf@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Santosh Shilimkar writes: > IVAHD and ABE power domain logic state is populated using directly > value instead of the capability flags. > > Fix the same. Again, has this been fixed in the scripts? For future reference, It will be helpful to note in the changelog that this kind of thing has been fixed in the autogen scripts. Thanks, Kevin > Signed-off-by: Santosh Shilimkar > --- > arch/arm/mach-omap2/powerdomains44xx_data.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-omap2/powerdomains44xx_data.c b/arch/arm/mach-omap2/powerdomains44xx_data.c > index 96cde98..daee255 100644 > --- a/arch/arm/mach-omap2/powerdomains44xx_data.c > +++ b/arch/arm/mach-omap2/powerdomains44xx_data.c > @@ -80,7 +80,7 @@ static struct powerdomain abe_44xx_pwrdm = { > .prcm_partition = OMAP4430_PRM_PARTITION, > .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430), > .pwrsts = PWRSTS_OFF_RET_INA_ON, > - .pwrsts_logic_ret = PWRDM_POWER_OFF, > + .pwrsts_logic_ret = PWRSTS_OFF, > .banks = 2, > .pwrsts_mem_ret = { > [0] = PWRDM_POWER_RET, /* aessmem */ > @@ -227,7 +227,7 @@ static struct powerdomain ivahd_44xx_pwrdm = { > .prcm_partition = OMAP4430_PRM_PARTITION, > .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430), > .pwrsts = PWRSTS_OFF_RET_INA_ON, > - .pwrsts_logic_ret = PWRDM_POWER_OFF, > + .pwrsts_logic_ret = PWRSTS_OFF, > .banks = 4, > .pwrsts_mem_ret = { > [0] = PWRDM_POWER_OFF, /* hwa_mem */