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

2010-12-16 Thread Chris Ball
Hi Ohad, On Sun, Nov 28, 2010 at 07:21:29AM +0200, Ohad Ben-Cohen wrote: > Upon system resume, SDIO core must reinitialize cards that were > powered off during suspend. > > If the card had its power kept during suspend (and thus it > is 'powered-resumed'), SDIO core performs only a limited reinit

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

2010-11-28 Thread Ohad Ben-Cohen
2010/11/28 Ohad Ben-Cohen : >>> I have not switched all existing code to mmc_card_is_powered_resumed(), >>> I can do that as a subsequent clean up patch. (i just prefer not to mix functional changes with cleanups in a single patch) > -- To unsubscribe from this list: send the line "unsubscribe l

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

2010-11-28 Thread Ohad Ben-Cohen
2010/11/28 Michał Mirosław : >> + >> +       /* 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, >>                        

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

2010-11-28 Thread Michał Mirosław
2010/11/28 Ohad Ben-Cohen : > Upon system resume, SDIO core must reinitialize cards that were > powered off during suspend. > > If the card had its power kept during suspend (and thus it > is 'powered-resumed'), SDIO core performs only a limited reinitializing, > mainly needed to make sure that the

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

2010-11-27 Thread Ohad Ben-Cohen
Upon system resume, SDIO core must reinitialize cards that were powered off during suspend. If the card had its power kept during suspend (and thus it is 'powered-resumed'), SDIO core performs only a limited reinitializing, mainly needed to make sure that the card wasn't removed/replaced. If a __