Re: [PATCH] mmc: sunxi: Declare ERASE capability

2014-08-29 Thread David Lanzendörfer
Hi > > 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. Okey! > What we should do future wise, is to remove the MMC_CAP_ERASE > entirely

Re: [PATCH] mmc: sunxi: Declare ERASE capability

2014-08-29 Thread Ulf Hansson
On 20 August 2014 15:39, Chen-Yu Tsai wrote: > Declare ERASE capability so we can use filesystems with the discard > option and the fstrim tool. > > Signed-off-by: Chen-Yu Tsai Thanks! Applied for next! Kind regards Uffe > --- > drivers/mmc/host/sunxi-mmc.c | 3 ++- > 1 file changed, 2 insert

Re: [PATCH] mmc: sunxi: Declare ERASE capability

2014-08-23 Thread Hans de Goede
Hi, On 08/20/2014 03:39 PM, Chen-Yu Tsai wrote: > Declare ERASE capability so we can use filesystems with the discard > option and the fstrim tool. > > Signed-off-by: Chen-Yu Tsai Good one: Acked-by: Hans de Goede Regards, Hans > --- > drivers/mmc/host/sunxi-mmc.c | 3 ++- > 1 file change

Re: [PATCH] mmc: sunxi: Declare ERASE capability

2014-08-20 Thread Ulf Hansson
On 20 August 2014 16:10, David Lanzendörfer wrote: > Hi >> 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 har

Re: [PATCH] mmc: sunxi: Declare ERASE capability

2014-08-20 Thread David Lanzendörfer
Hi > 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? I mean a WiFi device won't support erase functio

[PATCH] mmc: sunxi: Declare ERASE capability

2014-08-20 Thread Chen-Yu Tsai
Declare ERASE capability so we can use filesystems with the discard option and the fstrim tool. Signed-off-by: Chen-Yu Tsai --- drivers/mmc/host/sunxi-mmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c index 024