]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mmc: sdhci-s3c: derive transfer width host cap from max_width in platdata
authorThomas Abraham <thomas.abraham@linaro.org>
Sun, 1 Apr 2012 03:29:45 +0000 (23:29 -0400)
committerChris Ball <cjb@laptop.org>
Thu, 5 Apr 2012 23:57:58 +0000 (19:57 -0400)
commit0d22c77089c86416324d0d87e7ef8cfa931e53cd
tree50b8d7b7294c95c65ee1fb992da066fcefd9df6c
parent3119936a289db88cf749143fa5ef6b4a4712e3c0
mmc: sdhci-s3c: derive transfer width host cap from max_width in platdata

max_width member in platform data can be used to derive the mmc bus transfer
width that can be supported by the controller.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-s3c.c