OMAP1: Fix non-working LCD on OMAP310
authorMarek Vasut <marek.vasut@gmail.com>
Wed, 2 Feb 2011 20:13:50 +0000 (12:13 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 2 Feb 2011 20:13:50 +0000 (12:13 -0800)
commit719078a6bff1cabdbca8d404fb73bcaed1d0fc81
tree89b19ad9a7e0f5b20690a3924ffca7eab0300acb
parentdaf7aabcc14b3d63d8f134ca181e8b66f047e2d6
OMAP1: Fix non-working LCD on OMAP310

This patch fixes bug introduced in revision:

f8e9e98454606e43b728269de21db349f57861c7
omap1: DMA: move LCD related code from plat-omap to mach-omap1

The code introduced by this patch didn't consider any other CPUs but OMAP1510,
which rendered OMAP310 -- which has the same LCD controller -- non-working. Use
cpu_is_omap15xx() instead of cpu_is_omap1510() to squash this issue.

Bug found on Palm Zire 71 hardware.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/lcd_dma.c