Commit 80b92139 authored by Thierry Reding's avatar Thierry Reding

drm/tegra: hdmi - Remove duplicate code

The generic Tegra output code already sets up the clocks properly, so
there's no need to do it again when the HDMI output is enabled.
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent fb50a116
...@@ -723,16 +723,6 @@ static int tegra_output_hdmi_enable(struct tegra_output *output) ...@@ -723,16 +723,6 @@ static int tegra_output_hdmi_enable(struct tegra_output *output)
return err; return err;
} }
/*
* This assumes that the display controller will divide its parent
* clock by 2 to generate the pixel clock.
*/
err = tegra_output_setup_clock(output, hdmi->clk, pclk * 2);
if (err < 0) {
dev_err(hdmi->dev, "failed to setup clock: %d\n", err);
return err;
}
err = clk_set_rate(hdmi->clk, pclk); err = clk_set_rate(hdmi->clk, pclk);
if (err < 0) if (err < 0)
return err; return err;
......
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