aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorFredrik Soderstedt <[email protected]>2013-04-23 16:27:07 +0200
committerChris Ball <[email protected]>2013-05-26 14:23:18 -0400
commit60443712195bbcbbff9af189bdd9d2c1ef0a5cae (patch)
tree8556da51a7cc4f852f49cca47dff38bec7bee1a6 /lib/dynamic_debug.c
parent07a682160866e302d696f5c76d74024d575fb79d (diff)
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 <[email protected]> Reviewed-by: Johan Rudholm <[email protected]> Acked By: Girish K S <[email protected]> Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions