kernel: bump 4.14 to 4.14.235
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.14 / 950-0040-MMC-added-alternative-MMC-driver.patch
index 4caa4efd95966544907b7f9049efaa6145b4e008..450b97ba3b0adb19c4a791f330d07b55cf60bbbf 100644 (file)
@@ -111,7 +111,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  static inline int mmc_blk_part_switch(struct mmc_card *card,
                                      unsigned int part_type);
  
-@@ -2729,6 +2736,7 @@ static int mmc_blk_probe(struct mmc_card
+@@ -2741,6 +2748,7 @@ static int mmc_blk_probe(struct mmc_card
  {
        struct mmc_blk_data *md, *part_md;
        char cap_str[10];
@@ -119,7 +119,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  
        /*
         * Check that the card supports the command class(es) we need.
-@@ -2736,7 +2744,16 @@ static int mmc_blk_probe(struct mmc_card
+@@ -2748,7 +2756,16 @@ static int mmc_blk_probe(struct mmc_card
        if (!(card->csd.cmdclass & CCC_BLOCK_READ))
                return -ENODEV;
  
@@ -137,7 +137,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  
        md = mmc_blk_alloc(card);
        if (IS_ERR(md))
-@@ -2744,9 +2761,14 @@ static int mmc_blk_probe(struct mmc_card
+@@ -2756,9 +2773,14 @@ static int mmc_blk_probe(struct mmc_card
  
        string_get_size((u64)get_capacity(md->disk), 512, STRING_UNITS_2,
                        cap_str, sizeof(cap_str));