]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Move clock validation to its own function
authorMaxime Ripard <maxime@cerno.tech>
Tue, 22 Feb 2022 16:40:37 +0000 (17:40 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 24 Mar 2022 12:43:59 +0000 (13:43 +0100)
commit877ec5de6507af098dc57b85c0ee3c966aa1831a
tree1b4e1530d533dcf6508579c15c922dca88509897
parent307f8131b1c34b5d67f0875d5623c9b6c33eeb83
drm/vc4: hdmi: Move clock validation to its own function

Our code is doing the same clock rate validation in multiple instances.
Let's create a helper to share the rate validation.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220222164042.403112-3-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c