From: Hector Palacios Date: Wed, 10 Apr 2013 09:13:45 +0000 (+0200) Subject: mmc: mxs-mmc: add broken-cd property X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~41^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d53196a0d604fcf636203fac21e944b6a9cf275;p=pandora-kernel.git mmc: mxs-mmc: add broken-cd property According to bindings documentation for mmc, the property 'broken-cd' can be used to indicate card-detection is not available and polling must be used instead. This patch retrieves this property and sets a custom flag. On the get_cd() hook, it returns 1 if the flag is set, to always assume the card is present. Signed-off-by: Hector Palacios Signed-off-by: Marc Kleine-Budde Signed-off-by: Chris Ball --- Reading git-diff-tree failed