Commit 9a87e28d authored by Maxime Ripard's avatar Maxime Ripard

Revert "drm/vc4: hdmi: Enforce the minimum rate at runtime_resume"

This reverts commit ae71ab58.

Commit ae71ab58 ("drm/vc4: hdmi: Enforce the minimum rate at
runtime_resume") was introduced to work around an issue partly due to
the clk-bcm2835 driver on the RaspberryPi0-3.

Since we're not using that driver for our HDMI clocks, we can now revert
it.
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20230126-rpi-display-fw-clk-cleanup-v1-4-d646ff6fb842@cerno.techSigned-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent c97518ab
...@@ -3350,15 +3350,6 @@ static int vc4_hdmi_runtime_resume(struct device *dev) ...@@ -3350,15 +3350,6 @@ static int vc4_hdmi_runtime_resume(struct device *dev)
unsigned long rate; unsigned long rate;
int ret; int ret;
/*
* The HSM clock is in the HDMI power domain, so we need to set
* its frequency while the power domain is active so that it
* keeps its rate.
*/
ret = clk_set_min_rate(vc4_hdmi->hsm_clock, HSM_MIN_CLOCK_FREQ);
if (ret)
return ret;
ret = clk_prepare_enable(vc4_hdmi->hsm_clock); ret = clk_prepare_enable(vc4_hdmi->hsm_clock);
if (ret) if (ret)
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment