From: Lars-Peter Clausen Date: Wed, 6 May 2015 18:31:22 +0000 (+0200) Subject: mmc: dw_mmc: Use core to handle absent write protect line X-Git-Tag: omap-for-v4.2/fixes-rc1^2~161^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eff8f2f5df1c509c873cdc70c84eb2ee75b41e65;p=pandora-kernel.git mmc: dw_mmc: Use core to handle absent write protect line Use the new MMC_CAP2_NO_WRITE_PROTECT to let the core handle the case where no write protect line is present instead of having custom driver code to handle it. dw_mci_of_get_slot_quirks() is slightly refactored to directly modify the mmc_host capabilities instead of returning a quirk mask. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jaehoon Chung Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed