mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
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>
This commit is contained in:
parent
1970701f80
commit
20427e5db3
@ -5,7 +5,10 @@
|
|||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
struct mmc_ioc_cmd {
|
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;
|
int write_flag;
|
||||||
|
|
||||||
/* Application-specific command. true = precede with CMD55 */
|
/* Application-specific command. true = precede with CMD55 */
|
||||||
|
Loading…
Reference in New Issue
Block a user