lkml.org 
[lkml]   [2022]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] drm/bridge: synopsys/dw-hdmi: set cec clock rate
    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.

    \
     
     \ /
      Last update: 2022-01-26 21:34    [W:3.425 / U:0.568 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site