mmc: core: Add in support to expose PRV for v4 MMCs
authorBernie Thompson <bhthompson@chromium.org>
Wed, 27 Feb 2013 20:19:17 +0000 (12:19 -0800)
committerChris Ball <cjb@laptop.org>
Fri, 22 Mar 2013 16:10:42 +0000 (12:10 -0400)
commit51e7e8b632d8e564ba494dfa61358ac1a97e4ceb
tree39af1c9f7d5811d74f2c4cdecaace84137654704
parente3e020f8acbd39a6feb1b6903725aaf658b0fec4
mmc: core: Add in support to expose PRV for v4 MMCs

The JEDEC MMC v4 spec defines a new PRV value in place of the original
fwrev and hwrev specified in v1. We can expose this in the kernel to enable
user space to more easily determine the product revision of a given MMC.

Signed-off-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Documentation/mmc/mmc-dev-attrs.txt
drivers/mmc/core/mmc.c
include/linux/mmc/card.h