OMAP2PLUS:DSS2: Use opt_clock_available from pdata
authorSemwal, Sumit <sumit.semwal@ti.com>
Tue, 1 Mar 2011 08:42:14 +0000 (02:42 -0600)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 Mar 2011 13:46:26 +0000 (15:46 +0200)
commita1a0dccaea9e036200dc0b1070af1bfae06690fb
treedf2ab6605e40af63b3187b2f54505124f9f345db
parentfd4b34f60736a20c5acd81cbb3083a0c60ae058e
OMAP2PLUS:DSS2: Use opt_clock_available from pdata

hwmod databases provide information about which optional clocks are available
for a given platform. This is available via a function pointer opt_clock_enable
in pdata.

Use this information during get/enable/disable/put of clocks.

Signed-off-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss.c