On Wed, Jan 26, 2022 at 5:25 PM Peter Geis pgwipeout@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.