OMAPDSS: DISPC: Remove omap_dss_device pointer usage from dispc_mgr_pclk_rate()
authorArchit Taneja <archit@ti.com>
Mon, 9 Apr 2012 09:36:41 +0000 (15:06 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 May 2012 10:44:09 +0000 (13:44 +0300)
commit3fa03ba8542c40b90c95facfecd9b2789f71c0b6
treedf910c413818cbbb1c03e36abe561f19ae941d65
parentb3d795abb253c7605f8b6257f2e25e7ebaaf4b57
OMAPDSS: DISPC: Remove omap_dss_device pointer usage from dispc_mgr_pclk_rate()

The pixel clock rate for the TV manager is calculated by checking the device
type connected to the manager, and then requesting the VENC/HDMI interface for
the pixel clock rate.

Remove the use of omap_dss_device pointer from here by checking which interface
generates the pixel clock by reading the DSS_CTRL.VENC_HDMI_SWITCH bit.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dispc.c