[RFC PATCH] mmc: host: add a new cap to force set power control

2016-06-28 Thread Beata Baranowska
From: Chuanxiao Dong Even with a regulator, some host controller still needs to set the power control register to make sure the inter logical is working Signed-off-by: Chuanxiao Dong --- drivers/mmc/host/sdhci-acpi.c | 5 - drivers/mmc/host/sdhci.c | 10 ++ include/linux/mmc/

[PATCH] mmc: Change the enhanced area related sysfs output format

2016-06-14 Thread Beata Baranowska
From: Chuanxiao Dong When the enhanced area feature was not enabled, the related sysfs will have -EINVAL(-22) value, so change the sysfs output format to display the correct value. Signed-off-by: Chuanxiao Dong --- drivers/mmc/core/mmc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletion