[PATCH v6 02/23] drm/rockchip: dw_hdmi: rename vpll clock to reference clock

Dmitry Osipenko dmitry.osipenko at collabora.com
Thu Feb 17 05:20:15 PST 2022


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.



More information about the linux-arm-kernel mailing list