Re: [PATCH v4 2/3] soc: samsung: usi: implement support for USIv1 and exynos8895
From: Krzysztof Kozlowski
Date: Wed Jan 08 2025 - 05:09:16 EST
On 08/01/2025 10:45, Ivaylo Ivanov wrote:
>>>>> +
>>>>> + return ret;
>>>>> +}
>>>>> +
>>>>> +static void exynos_usi_remove(struct platform_device *pdev)
>>>>> +{
>>>>> + struct exynos_usi *usi = platform_get_drvdata(pdev);
>>>>> +
>>>>> + if (usi->data->ver == USI_VER2)
>>>>> + exynos_usi_disable(usi);
>>>> This is not related to the patch and should be separate patch, if at
>>>> all.
>>> Well I though that since didn't have any removal routine before it'd be good
>>> to introduce that and not leave USIv2 with hwacg set.
>> Sure, but separate commit, please. Can be preceeding the USIv1 support.
>
> What about right after the USIv1 support? It would be less messy in my
> opinion.
Fixes should be before new features and why messy? You add devm cleanup
handler for unconfigure and in next commit you grow it with clk disable
for USIv1?
Best regards,
Krzysztof