0124-bcm2835-mmc-Don-t-override-bus-width-capabilities-fr.patch 883 B

123456789101112131415161718192021222324
  1. From a41f23a2a756f274f1ddc67d6cccc36fa4624f88 Mon Sep 17 00:00:00 2001
  2. From: Andrew Litt <ajlitt@splunge.net>
  3. Date: Mon, 11 Jan 2016 07:54:21 +0000
  4. Subject: [PATCH 124/381] bcm2835-mmc: Don't override bus width capabilities
  5. from devicetree
  6. Take out the force setting of the MMC_CAP_4_BIT_DATA host capability
  7. so that the result read from devicetree via mmc_of_parse() is
  8. preserved.
  9. ---
  10. drivers/mmc/host/bcm2835-mmc.c | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. --- a/drivers/mmc/host/bcm2835-mmc.c
  13. +++ b/drivers/mmc/host/bcm2835-mmc.c
  14. @@ -1305,7 +1305,7 @@ static int bcm2835_mmc_add_host(struct b
  15. /* host controller capabilities */
  16. mmc->caps |= MMC_CAP_CMD23 | MMC_CAP_ERASE | MMC_CAP_NEEDS_POLL |
  17. MMC_CAP_SDIO_IRQ | MMC_CAP_SD_HIGHSPEED |
  18. - MMC_CAP_MMC_HIGHSPEED | MMC_CAP_4_BIT_DATA;
  19. + MMC_CAP_MMC_HIGHSPEED;
  20. mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD;