Re: [PATCH 07/12] memory: stm32-fmc2-ebi: add runtime PM support

From: Krzysztof Kozlowski
Date: Tue Feb 13 2024 - 08:33:25 EST


On 13/02/2024 14:31, Christophe Kerello wrote:
>>>
>>> @@ -1381,6 +1382,7 @@ static int stm32_fmc2_ebi_probe(struct platform_device *pdev)
>>> return -ENOMEM;
>>>
>>> ebi->dev = dev;
>>> + platform_set_drvdata(pdev, ebi);
>>
>> Does not look related.
>>
>
> With pm_runtime_resume_and_get API now called,
> stm32_fmc2_ebi_runtime_resume needs ebi data to enable the clock. It
> means that the platform data has to be set before this call.
>

Ah, OK.

Best regards,
Krzysztof