diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-12-03 22:56:47 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-12-17 10:26:24 +0300 |
commit | 20427e5db3f96fc054c6a6ad95606906b834deb1 (patch) | |
tree | 5bf259498cc18b2b7a566d75286d32c811107337 /include/uapi/linux/mmc | |
parent | 1970701f808095d28289c4add99a81be4ddd3790 (diff) | |
download | linux-20427e5db3f96fc054c6a6ad95606906b834deb1.tar.xz |
mmc: document 'Reliable Write' bit in uapi header
If we use it this way, people should know about it. Also, replace
true/false with nonzero/zero because the flag is not strictly a bool
anymore.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/uapi/linux/mmc')
-rw-r--r-- | include/uapi/linux/mmc/ioctl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/linux/mmc/ioctl.h b/include/uapi/linux/mmc/ioctl.h index 45f369dc0a42..00c08120f3ba 100644 --- a/include/uapi/linux/mmc/ioctl.h +++ b/include/uapi/linux/mmc/ioctl.h @@ -5,7 +5,10 @@ #include <linux/types.h> struct mmc_ioc_cmd { - /* Implies direction of data. true = write, false = read */ + /* + * Direction of data: nonzero = write, zero = read. + * Bit 31 selects 'Reliable Write' for RPMB. + */ int write_flag; /* Application-specific command. true = precede with CMD55 */ |