mmc: core: Always reselect card type
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Fri, 29 Sep 2023 07:45:08 +0000 (09:45 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 10 Oct 2023 11:44:49 +0000 (13:44 +0200)
commit6fff35f0335300af81c96326061f3cf3866ba6b8
tree7cb7ed37a62bbe6f5923bdd3fe7f7c303b6dcf6d
parent44ac5e91580b9c88212bd0336214ac204e6e9fe7
mmc: core: Always reselect card type

We want to allow host caps to be changed dynamically via debugfs, so for
these to have an effect, ensure that the card type reselection is always
applied even if the card is old.

Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20230929-mmc-caps-v2-1-11a4c2d94f15@axis.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c