Commit 7503dd0d authored by Stefan Nilsson XK's avatar Stefan Nilsson XK Committed by Greg Kroah-Hartman
Browse files

mmc: sdio: remember new card RCA when redetecting card



commit 0aab3995 upstream.

During redetection of a SDIO card, a request for a new card RCA
was submitted to the card, but was then overwritten by the old RCA.
This caused the card to be deselected instead of selected when using
the incorrect RCA.  This bug's been present since the "oldcard"
handling was introduced in 2.6.32.

Signed-off-by: default avatarStefan Nilsson XK <stefan.xk.nilsson@stericsson.com>
Reviewed-by: default avatarUlf Hansson <ulf.hansson@stericsson.com>
Reviewed-by: default avatarPawel Wieczorkiewicz <pawel.wieczorkiewicz@stericsson.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 95abbe32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment