mmc: remove multiwrite capability
Relax requirements on host controllers and only require that they do not report a transfer count than is larger than the actual one (i.e. a lower value is okay). This is how many other parts of the kernel behaves so upper layers should already be prepared to handle that scenario. This gives us a performance boost on MMC cards. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
@@ -1252,10 +1252,7 @@ static int mmc_spi_probe(struct spi_device *spi)
|
||||
mmc->ops = &mmc_spi_ops;
|
||||
mmc->max_blk_size = MMC_SPI_BLOCKSIZE;
|
||||
|
||||
/* As long as we keep track of the number of successfully
|
||||
* transmitted blocks, we're good for multiwrite.
|
||||
*/
|
||||
mmc->caps = MMC_CAP_SPI | MMC_CAP_MULTIWRITE;
|
||||
mmc->caps = MMC_CAP_SPI;
|
||||
|
||||
/* SPI doesn't need the lowspeed device identification thing for
|
||||
* MMC or SD cards, since it never comes up in open drain mode.
|
||||
|
Reference in New Issue
Block a user