[PATCH] drm/bridge: synopsys/dw-hdmi: set cec clock rate

Fabio Estevam festevam at gmail.com
Wed Jan 26 12:32:55 PST 2022


On Wed, Jan 26, 2022 at 5:25 PM Peter Geis <pgwipeout at gmail.com> wrote:

> +
> +               ret = clk_set_rate(hdmi->cec_clk, HDMI_CEC_CLK_RATE);
> +               if (ret)
> +                       dev_warn(hdmi->dev, "Cannot set HDMI cec clock rate: %d\n", ret);

You are setting the cec clock rate after it has been enabled, which
can be glitchy.

Better to set the rate prior to enabling the clock.



More information about the Linux-rockchip mailing list