[PATCH] mmc: sunxi: Declare ERASE capability
From: Ulf Hansson <hidden>
Date: 2014-08-20 14:20:22
Also in:
linux-mmc
From: Ulf Hansson <hidden>
Date: 2014-08-20 14:20:22
Also in:
linux-mmc
On 20 August 2014 16:10, David Lanzend?rfer [off-list ref] wrote:
Hiquoted
Declare ERASE capability so we can use filesystems with the discard option and the fstrim tool.I totally agree with you that information about such capabilities should be exposed but maybe it would be wiser to use DT instead of hardcoding it?
Nope, this is pure software support. No HW config. What we should do future wise, is to remove the MMC_CAP_ERASE entirely. Due to current existing bugs, mainly in mmc core layer regarding erase, we can't do it yet.
I mean a WiFi device won't support erase functionality...
That's already covered by the mmc core layer. No worries. Kind regards Uffe