]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: sun8i-hdmi-phy: Separate A83T and H3 PHY ops
authorSamuel Holland <samuel@sholland.org>
Wed, 15 Jun 2022 04:55:42 +0000 (23:55 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 16 Jun 2022 07:27:46 +0000 (09:27 +0200)
commit87aad377c31f1c7a4697d81a2d07def0c5d03a92
treeb05b903b0b0b28fb0cc393a4ac3266c4bd6ae2c2
parent86050fc902508f7a92a90838861c6319ef1e6849
drm/sun4i: sun8i-hdmi-phy: Separate A83T and H3 PHY ops

Since the driver already needs to support multiple sets of ops, we can
drop the mid-layer used by the A83T and H3 PHYs. They share only a small
amount of code; factor this out as sun8i_hdmi_phy_set_polarity.

For clarity, this commit keeps the existing function order.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220615045543.62813-6-samuel@sholland.org
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h
drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c