Re: [v5 4/5] MMC: Block CMD23 support for UHS104/SDXC cards.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 20, 2011 at 5:38 AM, Nath, Arindam <Arindam.Nath@xxxxxxx> wrote:
> 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?

Ok, will clean it up.

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


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux