]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita77b237c20204668e80a03a799991922e2422e79
tree89b19ad9a7e0f5b20690a3924ffca7eab0300acb
parent27f2352afa5230de5764521b92af8f4d0299f1d1
OMAP1: Fix non-working LCD on OMAP310

This patch fixes bug introduced in revision:

b9ca17224d355ccc5cc0cbbc6474b80b49065ff3
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