mci: imx-esdhci: remove wrong write protection test
Testing for the write protection bit to determine if a card is write
protected or not is wrong. The bit may have the wrong value for
permanently plugged cards (eMMC) or for boards using a GPIO for
write protection detection.
Since the core will test for write protection before actually
calling into the driver this test can just be removed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6e9a87b commit cf6b5087944d0f70e78ee3085c2b0b27ade74d3b
@Sascha Hauer Sascha Hauer authored on 13 Jan 2017
Showing 1 changed file
View
drivers/mci/imx-esdhc.c