Re: [PATCH 2/3] mmc: sdio: don't reinitialize nonremovable powered-resumed cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux