]> git.karo-electronics.de Git - linux-beck.git/commit
drm/omap: fix DPI clkout index handling
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 17 May 2016 13:20:07 +0000 (16:20 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 May 2016 17:19:07 +0000 (20:19 +0300)
commit13ece4d309b339501bd4ed563a4754a8b43e721f
treefadc08b3d17287f151700227cd6a5c089a585dbf
parent331e6078457e0d774ecdf092829aaa19b59fb2b6
drm/omap: fix DPI clkout index handling

DPI driver uses a fixed clkout index, 0. This has worked fine as the
first clkout is usually used.

To generalize the code and to support additional clock sources, change
the code to use dss_pll_get_clkout_idx_for_src() to get the clkout
index.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/dpi.c