[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <71817739-7ecd-478d-ae57-d764e21c8dd9@collabora.com>
Date: Tue, 4 Mar 2025 14:28:36 +0200
From: Cristian Ciocaltea <cristian.ciocaltea@...labora.com>
To: Maxime Ripard <mripard@...nel.org>
Cc: Vinod Koul <vkoul@...nel.org>, Kishon Vijay Abraham I
<kishon@...nel.org>, Heiko Stuebner <heiko@...ech.de>,
Algea Cao <algea.cao@...k-chips.com>, Sandor Yu <Sandor.yu@....com>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>, kernel@...labora.com,
linux-kernel@...r.kernel.org, linux-phy@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-rockchip@...ts.infradead.org
Subject: Re: [PATCH v4 10/12] phy: rockchip: samsung-hdptx: Add high color
depth management
On 3/4/25 10:21 AM, Maxime Ripard wrote:
> On Tue, Mar 04, 2025 at 03:44:09AM +0200, Cristian Ciocaltea wrote:
>> @@ -1480,12 +1484,12 @@ static int rk_hdptx_phy_power_off(struct phy *phy)
>> static int rk_hdptx_phy_verify_hdmi_config(struct rk_hdptx_phy *hdptx,
>> struct phy_configure_opts_hdmi *hdmi)
>> {
>> - if (!hdmi->tmds_char_rate || hdmi->tmds_char_rate > HDMI20_MAX_RATE)
>> - return -EINVAL;
>> -
>> u32 bit_rate = hdmi->tmds_char_rate / 100;
>> int i;
>>
>> + if (!hdmi->tmds_char_rate || hdmi->tmds_char_rate > HDMI20_MAX_RATE)
>> + return -EINVAL;
>> +
>> for (i = 0; i < ARRAY_SIZE(ropll_tmds_cfg); i++)
>> if (bit_rate == ropll_tmds_cfg[i].bit_rate)
>> break;
>
> Why is that change needed?
Oh, that was supposed to be a fixup for "phy: rockchip: samsung-hdptx:
Provide config params validation support" to keep variable declaration
section on top. Not sure how I missed it, probably I chose the wrong
commit hash while focusing on some other changes during the rebase.
Will sort this out in v5.
Thanks for spotting it,
Cristian
Powered by blists - more mailing lists