|
|
|
@ -125,7 +125,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
|
static inline int mmc_blk_part_switch(struct mmc_card *card,
|
|
|
|
|
unsigned int part_type);
|
|
|
|
|
|
|
|
|
|
@@ -2913,6 +2920,7 @@ static int mmc_blk_probe(struct mmc_card
|
|
|
|
|
@@ -2876,6 +2883,7 @@ static int mmc_blk_probe(struct mmc_card
|
|
|
|
|
{
|
|
|
|
|
struct mmc_blk_data *md, *part_md;
|
|
|
|
|
char cap_str[10];
|
|
|
|
@ -133,7 +133,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Check that the card supports the command class(es) we need.
|
|
|
|
|
@@ -2920,7 +2928,16 @@ static int mmc_blk_probe(struct mmc_card
|
|
|
|
|
@@ -2883,7 +2891,16 @@ static int mmc_blk_probe(struct mmc_card
|
|
|
|
|
if (!(card->csd.cmdclass & CCC_BLOCK_READ))
|
|
|
|
|
return -ENODEV;
|
|
|
|
|
|
|
|
|
@ -151,7 +151,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
|
|
|
|
|
|
card->complete_wq = alloc_workqueue("mmc_complete",
|
|
|
|
|
WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
|
|
|
|
|
@@ -2935,9 +2952,14 @@ static int mmc_blk_probe(struct mmc_card
|
|
|
|
|
@@ -2898,9 +2915,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));
|
|
|
|
|