Re: [PATCH v2] memory: tegra: Deduplicate rate request management code
From: Krzysztof Kozlowski
Date: Tue Apr 28 2026 - 05:24:05 EST
On 17/04/2026 11:19, Mikko Perttunen wrote:
> +
> +struct tegra_emc_rate_request {
> + unsigned long min_rate;
> + unsigned long max_rate;
> +};
> +
> +struct tegra_emc_rate_requests {
> + struct tegra_emc_rate_request requested_rate[TEGRA_EMC_RATE_TYPE_MAX];
> + struct mutex rate_lock;
You introduced a new checkpatch warning. Wasn't there before. Probably
the old comment feels to obvious in this context, so it should be
extended to be meaningful, e.g. what data structure, which members,
which code paths etc.
Best regards,
Krzysztof