From: Anton Vorontsov Date: Tue, 22 Sep 2009 23:45:15 +0000 (-0700) Subject: sdhci-of: don't hard-code inverted write-protect quirk X-Git-Tag: v2.6.32-rc1~329 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8226a219254bbcd20492df185f191a11a7a81dcd;p=pandora-kernel.git sdhci-of: don't hard-code inverted write-protect quirk MPC85xx SOCs have normal write-protect state reporting, so we shouldn't hard-code the quirk. Instead, look for "sdhci,wp-inverted" property, plus check for mpc837x_{rdb,mds} machines since older device trees don't specify the new property. Signed-off-by: Anton Vorontsov Cc: Pierre Ossman Cc: Kumar Gala Cc: David Vrabel Cc: Ben Dooks Cc: Sascha Hauer Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed