Re: [PATCH] mmc: core: Fix select power class after resume

2013-04-23 Thread Johan Rudholm
Hi, 2013/4/22 Fredrik Soderstedt : > Use the saved values in card->ext_csd when selecting power class. > By doing this the power class will be selected even if mmc_init_card > is called with oldcard != NULL, which is the case after a suspend/resume. > > Today ext_csd is NULL if mmc_init_card is ca

[PATCH] mmc: core: Fix select power class after resume

2013-04-22 Thread Fredrik Soderstedt
Use the saved values in card->ext_csd when selecting power class. By doing this the power class will be selected even if mmc_init_card is called with oldcard != NULL, which is the case after a suspend/resume. Today ext_csd is NULL if mmc_init_card is called with oldcard != NULL and power class wil