ARM: OMAP2+: UART: Don't register errata i291 for AM33XX
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Tue, 17 Jan 2012 05:58:44 +0000 (11:28 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:55 +0000 (00:44 +0530)
UART_ERRATA_i291_DMA_FORCEIDLE is not applicable to the
AM33XX family

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
arch/arm/mach-omap2/serial.c

index 247d89478f2439010c741045518d455e78e73d17..ad5bed3cafa767febf6d65efa0c190412ee2b3fa 100644 (file)
@@ -362,7 +362,7 @@ void __init omap_serial_init_port(struct omap_board_data *bdata,
                omap_up.errata |= UART_ERRATA_i202_MDR1_ACCESS;
 
        /* Enable DMA Mode Force Idle Errata i291 for omap34xx/3630 */
-       if (cpu_is_omap34xx() || cpu_is_omap3630())
+       if ((cpu_is_omap34xx() || cpu_is_omap3630()) && !cpu_is_am33xx())
                omap_up.errata |= UART_ERRATA_i291_DMA_FORCEIDLE;
 
        pdata = &omap_up;