commit | bcf53524ac4532da546cb87099a6e164d5394004 | [log] [tgz] |
---|---|---|
author | Anatolij Gustschin <agust@denx.de> | Mon Apr 08 23:28:07 2013 +0200 |
committer | Chris Ball <cjb@laptop.org> | Fri Apr 12 15:13:27 2013 -0400 |
tree | 486ae94de2819ecaf38ea139583a16d8772bd171 | |
parent | c7ceab02543f8a03b4df3d4465b089c8117a5e09 [diff] |
mmc: mxcmmc: use slot-gpio API for write-protect detection slot-gpio API suppors read-only detection when "wp-gpios" property is present in the device tree mmc node. Use this API for write-protect detection. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Chris Ball <cjb@laptop.org>