]> Pileus Git - ~andy/linux/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)
commitabd37cccd47fe950e893578da12e7dc0604078de
tree92258751556d0ea51d11aadf47c090f4aa815bf1
parent6c3331d3ace7989688fa59f541f5e722e44ac373
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