From: Doug Anderson Date: Fri, 11 Jan 2013 17:03:50 +0000 (+0000) Subject: mmc: dw_mmc: Add "disable-wp" device tree property X-Git-Tag: v3.9-rc1~78^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a70aaa64da2205d32d1c9362d8f5d4be619cd58f;p=pandora-kernel.git mmc: dw_mmc: Add "disable-wp" device tree property The "disable-wp" property is used to specify that a given SD card slot doesn't have a concept of write protect. This eliminates the need for special case code for SD slots that should never be write protected (like a micro SD slot or a dev board). The dw_mmc driver is special in needing to specify "disable-wp" because the lack of a "wp-gpios" property means to use the special purpose write protect line. On some other mmc devices the lack of "wp-gpios" means that write protect should be disabled. Signed-off-by: Doug Anderson Acked-by: Seungwon Jeon Acked-by: Will Newton Acked-by: Olof Johansson Signed-off-by: Chris Ball --- Reading git-diff-tree failed