]> Pileus Git - ~andy/linux/commitdiff
gpio/omap: fix bankwidth for OMAP7xx MPUIO
authorCharulatha V <charu@ti.com>
Wed, 25 May 2011 07:14:28 +0000 (12:44 +0530)
committerTarun Kanti DebBarma <tarun.kanti@ti.com>
Mon, 6 Feb 2012 08:43:44 +0000 (14:13 +0530)
In all OMAP1 SoCs, the MPUIO bank width is 16 bits. But, in OMAP7xx,
it is wrongly initialised to 32. Fix this.

Signed-off-by: Charulatha V <charu@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap1/gpio7xx.c

index 433491cb73fa3b240d59a8cf786422cb778daa0d..4771d6b68b96eb4c08820b1eab8c97790d306f5d 100644 (file)
@@ -52,8 +52,8 @@ static struct omap_gpio_reg_offs omap7xx_mpuio_regs = {
 
 static struct __initdata omap_gpio_platform_data omap7xx_mpu_gpio_config = {
        .virtual_irq_start      = IH_MPUIO_BASE,
-       .bank_width             = 32,
        .is_mpuio               = true,
+       .bank_width             = 16,
        .bank_stride            = 2,
        .regs                   = &omap7xx_mpuio_regs,
 };