OMAPDSS: DPI: fix dpi_get_dsidev() for omap5
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 11 Mar 2013 11:57:38 +0000 (13:57 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Apr 2013 12:19:02 +0000 (15:19 +0300)
commitf8ad984ce0372f43006f5c700310c2d6f301085d
treedad448e6ee16b55676d621fdc200a42c714c6f50
parentd9f4e46714b11503f53619e9896db0506c35351c
OMAPDSS: DPI: fix dpi_get_dsidev() for omap5

On OMAP5 the DISPC channels and DSI PLLs are not connected the same way.
LCD2 on OMAP5 cannot use any DSI PLL as a source clock, but LCD3 can use
DSI2's PLL.

This patch fixes dpi_get_dsidev() by adding separate case for OMAP5 to
handle the difference.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dpi.c