drm/omap: generalize dss_pll_calc_b()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 18 May 2016 08:15:21 +0000 (11:15 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 May 2016 17:19:08 +0000 (20:19 +0300)
commitc107751d12cf40a5288d47edda53b2c4de2ff21c
tree369d6bad67ada9ea05e34be3d5bde756061ae2c5
parentc17dc0e3a1e053936c1e08bcbfc771843beabff1
drm/omap: generalize dss_pll_calc_b()

dss_pll_calc_b() takes HDMI TMDS clock rate as a parameter. To make
dss_pll_calc_b() usable for non-HDMI users, change the function to take
clkout rate as parameter, and also change the current users of
dss_pll_calc_b() to accommodate that.

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