diff options
author | Fredrik Soderstedt <fredrik.soderstedt@stericsson.com> | 2013-04-23 14:27:07 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-05-26 18:23:18 (GMT) |
commit | 60443712195bbcbbff9af189bdd9d2c1ef0a5cae (patch) | |
tree | 8556da51a7cc4f852f49cca47dff38bec7bee1a6 /fs/befs | |
parent | 07a682160866e302d696f5c76d74024d575fb79d (diff) | |
download | linux-fsl-qoriq-60443712195bbcbbff9af189bdd9d2c1ef0a5cae.tar.xz |
mmc: core: Fix select power class after resume
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.
Signed-off-by: Fredrik Soderstedt <fredrik.soderstedt@stericsson.com>
Reviewed-by: Johan Rudholm <jrudholm@gmail.com>
Acked By: Girish K S <girish.shivananjappa@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'fs/befs')
0 files changed, 0 insertions, 0 deletions