>> >> This method is used in v1, >> The method makes sdhci_ops non-const and have to dynamically alloc >> sdhci_ops, since host->ops is pointer. >> Will keep use const sdhci_ops, recommended by Arnd. > > > Not acceptable. > > > There are 3 cases for WP signal > > a) They are connected to the controller using GPIO > b( They are NOT connected and the corresponding pin is not used > c) They are NOT connected and the corresponding pin is used by something else. > > case a) > program GPIO as is done today in brownstone and aspen > > case b) > configure the MFP pin to be pull high/low to indicate NO WP. The pin cannot be left floating Thanks, configure WP pin to LOW should be work for micro sd card. > > case c) > you need a quirk and the call back. > > > > > > -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html