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>
Esse commit está contido em:
@@ -1317,7 +1317,7 @@ static int __init mmc_omap_new_slot(struct mmc_omap_host *host, int id)
|
||||
|
||||
host->slots[id] = slot;
|
||||
|
||||
mmc->caps = MMC_CAP_MULTIWRITE;
|
||||
mmc->caps = 0;
|
||||
if (host->pdata->conf.wire4)
|
||||
mmc->caps |= MMC_CAP_4_BIT_DATA;
|
||||
|
||||
|
Referência em uma nova issue
Block a user