[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a34f1ab4-e505-4281-9a8f-b72c62beed5d@gmail.com>
Date: Sun, 24 Mar 2024 08:29:21 +0100
From: Gabor Juhos <j4g8y7@...il.com>
To: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Cc: Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Michael Turquette <mturquette@...libre.com>, Stephen Boyd
<sboyd@...nel.org>, linux-arm-msm@...r.kernel.org,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/6] clk: qcom: apss-ipq-pll: remove 'pll_type' field
from struct 'apss_pll_data'
2024. 03. 22. 23:33 keltezéssel, Dmitry Baryshkov írta:
..
>> Although my opinion that it is redundant still stand, but I'm not against
>> keeping the pll_type. However if we keep that, then at least we should use
>> private enums (IPQ_APSS_PLL_TYPE_* or similar) for that in order to make it more
>> obvious that it means a different thing than the CLK_ALPHA_PLL_TYPE_* values.
>>
>> This solution would be more acceptable?
>
> This looks like a slight overkill, but yes, it is more acceptable. The
> logic should be type => functions, not the other way around.
>
>
If that is overkill, it does not worth the change. I will drop the patch and
send an updated series.
Regards,
Gabor
Powered by blists - more mailing lists