Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
1,896
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. --- linux-v5.3-rc5/drivers/mmc/host/sunxi-mmc.c 2019-08-22 20:06:32.487082136 +0200
  2. +++ linux-v5.3-rc5/drivers/mmc/host/sunxi-mmc.c 2019-08-22 20:08:20.415078693 +0200
  3. @@ -1394,15 +1394,17 @@ static int sunxi_mmc_probe(struct platfo
  4. MMC_CAP_ERASE | MMC_CAP_SDIO_IRQ;
  5.  
  6. /*
  7. - * Some H5 devices do not have signal traces precise enough to
  8. - * use HS DDR mode for their eMMC chips.
  9. + * Some H5 and H6 devices do not have signal traces precise
  10. + * enough to use HS DDR mode for their eMMC chips.
  11. *
  12. * We still enable HS DDR modes for all the other controller
  13. * variants that support them.
  14. */
  15. if ((host->cfg->clk_delays || host->use_new_timings) &&
  16. !of_device_is_compatible(pdev->dev.of_node,
  17. - "allwinner,sun50i-h5-emmc"))
  18. + "allwinner,sun50i-h5-emmc") &&
  19. + !of_device_is_compatible(pdev->dev.of_node,
  20. + "allwinner,sun50i-h6-emmc"))
  21. mmc->caps |= MMC_CAP_1_8V_DDR | MMC_CAP_3_3V_DDR;
  22.  
  23. ret = mmc_of_parse(mmc);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement