[PATCH 07/12] memory: stm32-fmc2-ebi: add runtime PM support
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Tue Feb 13 05:33:13 PST 2024
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
More information about the linux-mtd
mailing list