提交 77252da7 编写于 作者: U Ulf Hansson

mmc: mvsdio: Enable MMC_CAP_ERASE

There is no obvious reasons to why mvsdio shouldn't be able to support
erase/trim/discard operations, hence let's set MMC_CAP_ERASE for it.

Cc: Damien Thebault <damien.thebault@vitec.com>
Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
Tested-by: NDamien Thebault <damien.thebault@vitec.com>
上级 0ef89ec2
......@@ -757,6 +757,8 @@ static int mvsd_probe(struct platform_device *pdev)
if (maxfreq)
mmc->f_max = maxfreq;
mmc->caps |= MMC_CAP_ERASE;
spin_lock_init(&host->lock);
host->base = devm_ioremap_resource(&pdev->dev, r);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册