serial: 8250_omap: Add OMAP_DMA_TX_KICK quirk for AM437x
authorVignesh R <vigneshr@ti.com>
Tue, 4 Apr 2017 19:32:22 +0000 (19:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Apr 2017 10:41:19 +0000 (12:41 +0200)
commit80b0d7e623d10d4bc9bad2a35d6ce18e08454b3d
tree70e8b657919b5f75b47e4d4b54689b2e96a2d3a1
parent6b8deb1082730c867c44b59cb00a8320189d1f4b
serial: 8250_omap: Add OMAP_DMA_TX_KICK quirk for AM437x

[ Upstream commit b6ffcf21082300519bc4f9c3d24f61207cc9eae4 ]

UART uses as EDMA as dma engine on AM437x SoC and therefore, requires
OMAP_DMA_TX_KICK quirk just like AM33xx. So, enable OMAP_DMA_TX_KICK
quirk for AM437x platform as well. While at that, drop use of
of_machine_is_compatible() and instead pass quirks via device data.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c