Hi, 2013/4/23 Fredrik Soderstedt <fredrik.soderst...@stericsson.com>: > 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 will not be selected. > > According to the eMMC specification the POWER_CLASS value is reset after > power failure, H/W reset assertion and any CMD0 reset. > > CC: Girish K S <girish.shivananja...@linaro.org> > Signed-off-by: Fredrik Soderstedt <fredrik.soderst...@stericsson.com>
Looks good to me! Please add my Reviewed-by: Johan Rudholm <jrudh...@gmail.com> Kind regards, Johan -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html