2010/11/28 MichaÅ MirosÅaw <mirqus@xxxxxxxxx>: <snip> >> + >> + Â Â Â /* No need to reinitialize powered-resumed nonremovable cards */ >> + Â Â Â if (mmc_card_is_removable(host) || !mmc_card_is_powered_resumed(host)) >> + Â Â Â Â Â Â Â err = mmc_sdio_init_card(host, host->ocr, host->card, >> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â (host->pm_flags & MMC_PM_KEEP_POWER)); > > You can use mmc_card_is_powered_resumed() here, too. Yeah. there are additional incarnations, too. that's why I noted that: >> I have not switched all existing code to mmc_card_is_powered_resumed(), >> I can do that as a subsequent clean up patch. -- 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