mmc: core: Move cached value of the negotiated ocr mask to card struct
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 13 Sep 2013 09:31:33 +0000 (11:31 +0200)
committerlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 09:35:23 +0000 (17:35 +0800)
commit51dfeaef6af987bdc569911eac5385fa54963abc
treee7112af4c4b2ded666d711c0124b730a560e6c14
parent37bf0246c9021a17737d24453519e7bedea2aacf
mmc: core: Move cached value of the negotiated ocr mask to card struct

The negotiated ocr mask is directly related to the card. Once a card
gets removed, the mask shall be dropped. By moving the cache of the ocr
mask from the host struct to the card struct we have accomplished this.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Conflicts:
drivers/mmc/core/sd.c
drivers/mmc/core/core.c
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c
include/linux/mmc/card.h
include/linux/mmc/host.h