]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mxs: use mmc_gpio_get_ro for detecting read-only status
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 5 Dec 2013 13:34:50 +0000 (14:34 +0100)
committerChris Ball <chris@printf.net>
Mon, 13 Jan 2014 17:48:20 +0000 (12:48 -0500)
commit0df39a9b5c97af032dcf963e7fed7e9297270f1a
tree92258751556d0ea51d11aadf47c090f4aa815bf1
parent7384785dff871d8946dc918a097673fd51207e3f
mmc: mxs: use mmc_gpio_get_ro for detecting read-only status

This also fixes that the read-only gpio was used without being
requested.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/mxs-mmc.c