mmc: add timeout fields for mmc_ioc_cmd

Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
This commit is contained in:
wanggang26 2023-08-21 09:50:40 +08:00 committed by Xiang Xiao
parent a6388b8843
commit 5be2c5d91c

View File

@ -73,6 +73,11 @@ struct mmc_ioc_cmd
unsigned int blksz;
unsigned int blocks;
/* Override driver-computed timeouts. Note the difference in units! */
unsigned int data_timeout_ns;
unsigned int cmd_timeout_ms;
/* For 64-bit machines, the next member, ``uint64_t data_ptr``, wants to
* be 8-byte aligned. Make sure this struct is the same size when
* built for 32-bit.