]> git.karo-electronics.de Git - karo-tx-linux.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 <cjb@laptop.org>
Thu, 12 Dec 2013 01:38:52 +0000 (20:38 -0500)
commita6cd26f25216b4d15c37e09819e6b96be20d25fd
tree918fd08671710cc23d69c239255f156f3e810cc3
parentd2d4619ad3ed7800b530468ca0eae8909704ef9c
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