mmc: meson-gx: series with smaller improvements
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
v4 cover mmc: meson-gx: series with smaller improvements
Am 04.03.2017 um 10:30 schrieb Helmut Klein:
Quoted 33 lines
Hallo Heiner,
i had the same problem as mentioned from Kevin.
The solution for my box (netxeon MiniMX) was to partly revert your patch 8
meson-gx-mmc.c.helmut 2017-02-21 11:30:30.360445366 +0100 renamed from meson-gx-mmc.c.heiner 2017-02-20 13:25:47.000000000 +0100 +5
-5@@ -741,6 +742,10 @@ static int meson_mmc_probe(struct platfo if (ret) goto free_host; + ret = meson_mmc_clk_init(host); + if (ret) + goto err_core_clk; + /* Stop execution */ writel(0, host->regs + SD_EMMC_START);@@ -751,11 +756,7 @@ static int meson_mmc_probe(struct platfo /* set config to sane default */ meson_mmc_cfg_init(host); - - ret = meson_mmc_clk_init(host); - if (ret) - goto free_host; - + ret = devm_request_threaded_irq(&pdev->dev, irq, meson_mmc_irq, meson_mmc_irq_thread, IRQF_SHARED, DRIVER_NAME, host);
Quoted 9 lines
The rest of your patches are ok. Thank you for them.
Before applying the patches, i couldn't read the mmc (hs200 type) at all (got crc errors only). Now this is fixed.
regards
Helmutps: i hope, it is ok, to send this mail directly to you??
Sure. I just think other people would consider your findings interesting too, so I cc Kevin and the lists. Let me check on my system, I'll come up with a corrected version of the patch set.
Rgds, Heiner