2010/11/28 Michał Mirosław <[email protected]>:

<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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to