17.02.2022 11:29, Sascha Hauer пишет:
> +     hdmi->ref_clk = devm_clk_get(hdmi->dev, "ref");
> +     if (PTR_ERR(hdmi->ref_clk) == -ENOENT)
> +             hdmi->ref_clk = devm_clk_get(hdmi->dev, "vpll");
> +
> +     if (PTR_ERR(hdmi->ref_clk) == -ENOENT) {
> +             hdmi->ref_clk = NULL;

I missed in v5 that devm_clk_get_optional() could be used here. But this
doesn't worth the v7 by itself.

Reply via email to