• Balaji T K's avatar
    ARM: OMAP2+: Fix warnings for GPMC interrupt · 77aded2f
    Balaji T K authored
    Commit db97eb7d
    (omap: gpmc: enable irq mode in gpmc) enabled interrupts for
    GPMC (General Purpose Memory Controller). However, looks like
    this patch only works on omap3. Fix the issues to avoid warnings
    on omap4 during the boot.
    
    GPMC: number of chip select is 8, CS0 to CS7. One less IRQ
    allocated throws below warning at boot:
    
    [    0.429290] Trying to install type control for IRQ409
    [    0.429290] Trying to set irq flags for IRQ409
    
    Resolve following warning messages in boot when irq chip is not set:
    
    [    0.429229] Trying to install interrupt handler for IRQ402
    [    0.429229] Trying to install interrupt handler for IRQ403
    [    0.429229] Trying to install interrupt handler for IRQ404
    [    0.429260] Trying to install interrupt handler for IRQ405
    [    0.429260] Trying to install interrupt handler for IRQ406
    [    0.429260] Trying to install interrupt handler for IRQ407
    [    0.429290] Trying to install interrupt handler for IRQ408
    
    Resolve following warning in OMAP4:
    [    0.429290] gpmc: irq-20 could not claim: err -22
    Signed-off-by: default avatarBalaji T K <balajitk@ti.com>
    [tony@atomide.com: combined patches into one, updated comments]
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    77aded2f
gpmc.c 21.8 KB