Hi Andrei,

[...]
> diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c
> index 596d0b9..efff41d 100644
> --- a/drivers/mmc/core/sd.c
> +++ b/drivers/mmc/core/sd.c
> @@ -203,6 +203,13 @@ static int mmc_decode_scr(struct mmc_card *card)
>       else
>               card->erased_byte = 0x0;
> 
> +     if (scr->sda_vsn == SCR_SPEC_VER_2) {
> +
> +             /* Check if Physical Layer Spec v3.0X is supported. */
> +             scr->sda_spec3 = UNSTUFF_BITS(resp, 47, 1);
> +             if (scr->sda_spec3)
> +                     scr->cmds = UNSTUFF_BITS(resp, 32, 2);
> +     }

There is already this condition checking (== SCR_SPEC_VER_2) in 
mmc_decode_scr(). So can you please make your changes appropriately?

Thanks,
Arindam

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to