]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/gpu/drm/omapdrm/dss/hdmi5.c
OMAPDSS: HDMI: store WP pointer to hdmi_pll_data
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 16 Oct 2014 12:31:38 +0000 (15:31 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 12 Nov 2014 11:40:26 +0000 (13:40 +0200)
commit03aafa2cd84e6406ce3ceedca245a6a731f9b77b
treea1a72e150af63f1bd55507e30c330853dd7d15de
parentb0295f165f0a9e1bde4f4592df04e85a28be2ce3
OMAPDSS: HDMI: store WP pointer to hdmi_pll_data

HDMI PLL code needs the pointer to the WP block so that it can manage
its power. Currently this is passed as a function parameter to
hdmi_pll_enable and hdmi_pll_disable. To make the PLL function adhere to
the DSS PLL API, we need to remove the WP parameter.

This patch stores the WP pointer to hdmi_pll_data in hdmi_pll_init, so
that it's available when needed.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/hdmi.h
drivers/video/fbdev/omap2/dss/hdmi4.c
drivers/video/fbdev/omap2/dss/hdmi5.c
drivers/video/fbdev/omap2/dss/hdmi_pll.c