Re: sdhci max_blk_size

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

 



On Wed, Jan 04, 2012 at 04:01:07PM +0100, Matthieu CASTET wrote:
> Hi,
> 
> our controller set "Max Block Length" to 3 (4096 byte), but the linux driver
> ignore this value [1].
> 
> Is there any reason to do that .

The reason is, sd host controller spec defines 3 as reserved, not 4096.

> Or it is code that was written with an older sdhci spec, and we can ignore this
> check today.

The current sdhci driver follows v3 spec, is the v4 spec out that
defined this bit?

> 
> 
> 
> Matthieu
> 
> PS : please keep me in CC.
> 
> [1]
> if (mmc->max_blk_size >= 3) {
>             pr_warning("%s: Invalid maximum block size, "
>                 "assuming 512 bytes\n", mmc_hostname(mmc));
>             mmc->max_blk_size = 0;
>         }
> --

--
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