[PATCH 36/36] mmc: meson-mx-sdio: Use devm_mmc_alloc_host() helper
Martin Blumenstingl
martin.blumenstingl at googlemail.com
Tue May 20 12:46:01 PDT 2025
Hello,
On Tue, May 20, 2025 at 1:47 PM Binbin Zhou <zhoubinbin at loongson.cn> wrote:
[...]
> - mmc = mmc_alloc_host(sizeof(*host), &slot_pdev->dev);
> + mmc = devm_mmc_alloc_host(&slot_pdev->dev, sizeof(*host));
Last time I tried this I had some problems. I don't fully recall the
issues (I can test in the next few days).
In the meantime: could you please double-check the driver code to see
if you spot any issues (the special bit here is that the struct device
is created by of_platform_device_create())?
Best regards,
Martin
More information about the linux-amlogic
mailing list