]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/mmc/core/sdio.c
mmc: core: Cleanup code for setting ocr mask for SDIO
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 13 Sep 2013 08:49:34 +0000 (10:49 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 31 Oct 2013 00:26:28 +0000 (20:26 -0400)
commitdb4a0d0512253c23a052ae650395c07d956118b3
tree2abbdce7171c86bcc17063a9a24158c4eb832d27
parentec2ed7006263bd4224083aff7833bd791ac35d65
mmc: core: Cleanup code for setting ocr mask for SDIO

At several places in mmc_sdio_init_card function the cached mask in
host->ocr were being updated. To simplify code, we make use of an
local ocr parameter instead.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sdio.c