]> Pileus Git - ~andy/linux/commit
mmc: sdhci: get voltage from sdhc host
authorHaijun Zhang <Haijun.Zhang@freescale.com>
Mon, 26 Aug 2013 01:19:23 +0000 (09:19 +0800)
committerChris Ball <cjb@laptop.org>
Mon, 26 Aug 2013 15:32:07 +0000 (11:32 -0400)
commitc0b887b66c95fe5abaac071b8332b8c21113d84b
tree0d4701ea0fcb12b1c0be7712098ab916f4f2b999
parent6e9e318b304fd7373a0754805a76a02ddbc69a41
mmc: sdhci: get voltage from sdhc host

We use host->ocr_mask to hold the voltage get from device-tree
node, In case host->ocr_mask was available, we use host->ocr_mask
as the final available voltage can be used by MMC/SD/SDIO card.

Signed-off-by: Haijun Zhang <haijun.zhang@freescale.com>
Reviewed-by: Anton Vorontsov <anton@enomsg.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c
include/linux/mmc/sdhci.h