diff options
author | Paul Walmsley <paul@pwsan.com> | 2011-03-08 03:28:15 +0100 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-03-08 03:28:15 +0100 |
commit | 4cb49fec12e219ec174e04157f71c00f63eb4ce4 (patch) | |
tree | 991a0cb1e304d6c128f3af401786865347569990 /arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c | |
parent | OMAP2/3: WKUP powerdomain: mark as being always on (diff) | |
download | linux-4cb49fec12e219ec174e04157f71c00f63eb4ce4.tar.xz linux-4cb49fec12e219ec174e04157f71c00f63eb4ce4.zip |
OMAP2+: powerdomain: fix bank power state bitfields
The bank power state bitfields in the powerdomain data are
encoded incorrectly. These fields are intended to be bitfields,
representing a set of power states that the memory banks support.
However, when only one power state was supported by a given bank,
the field was incorrectly set to the bit shift -- not the mask.
While here, update some file copyrights.
The OMAP4 autogeneration scripts have been updated accordingly.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c b/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c index 96cda1371e63..4210c3399769 100644 --- a/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c +++ b/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.c @@ -62,13 +62,13 @@ struct powerdomain gfx_omap2_pwrdm = { .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP24XX | CHIP_IS_OMAP3430ES1), .pwrsts = PWRSTS_OFF_RET_ON, - .pwrsts_logic_ret = PWRDM_POWER_RET, + .pwrsts_logic_ret = PWRSTS_RET, .banks = 1, .pwrsts_mem_ret = { - [0] = PWRDM_POWER_RET, /* MEMRETSTATE */ + [0] = PWRSTS_RET, /* MEMRETSTATE */ }, .pwrsts_mem_on = { - [0] = PWRDM_POWER_ON, /* MEMONSTATE */ + [0] = PWRSTS_ON, /* MEMONSTATE */ }, }; |