]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/meson: fix debug log statement when setting the HDMI clocks
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Fri, 6 Jun 2025 20:37:29 +0000 (22:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:05:19 +0000 (11:05 +0100)
[ Upstream commit d17e61ab63fb7747b340d6a66bf1408cd5c6562b ]

The "phy" and "vclk" frequency labels were swapped, making it more
difficult to debug driver errors. Swap the label order to make them
match with the actual frequencies printed to correct this.

Fixes: e5fab2ec9ca4 ("drm/meson: vclk: add support for YUV420 setup")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250606203729.3311592-1-martin.blumenstingl@googlemail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/meson/meson_encoder_hdmi.c

index 95137c2d3c56d2264edc03f1cfa927753fe1bbec..1fd17de93fc34c6b0f0cdaf30a3588990493c69f 100644 (file)
@@ -106,7 +106,7 @@ static void meson_encoder_hdmi_set_vclk(struct meson_encoder_hdmi *encoder_hdmi,
                venc_freq /= 2;
 
        dev_dbg(priv->dev,
-               "vclk:%lluHz phy=%lluHz venc=%lluHz hdmi=%lluHz enci=%d\n",
+               "phy:%lluHz vclk=%lluHz venc=%lluHz hdmi=%lluHz enci=%d\n",
                phy_freq, vclk_freq, venc_freq, hdmi_freq,
                priv->venc.hdmi_use_enci);