]> Pileus Git - ~andy/linux/commit
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)
committerChris Ball <cjb@laptop.org>
Thu, 31 Oct 2013 00:26:29 +0000 (20:26 -0400)
commit6904115095ad60ced638eb1e36e0e4e5e7de00b0
tree7bf979ff85dbf5a97c0aef99624293b67a54b094
parentdb4a0d0512253c23a052ae650395c07d956118b3
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>
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