mmc: sd: Export SD Status via “ssr” device attribute
authorUri Yanai <uri.yanai@sandisk.com>
Sun, 14 Aug 2016 08:46:36 +0000 (11:46 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 12 Sep 2016 08:35:23 +0000 (10:35 +0200)
commit581369f290bab6b301877dcd91d08656480fffc3
treeeb756262f21e48dd2eefcf5a86849bc3ffff737e
parentca1679be1a6a24e364b3be7331f3edd62ac6f2d9
mmc: sd: Export SD Status via “ssr” device attribute

The SD Status register contains several important fields related to the
SD Card proprietary features.
Those fields may be used by user space applications for vendor specific
usage.
None of those fields are exported today by the driver to user space.
In this patch, we are reading the SD Status register and exporting
(using MMC_DEV_ATTR) the SD Status register to the user space.

Signed-off-by: Uri Yanai <uri.yanai@sandisk.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sd.c
include/linux/mmc/card.h
This page took 0.028796 seconds and 5 git commands to generate.