mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 21:52:04 +00:00
[MMC] Fix mmc_cmd_type() mask
It's MMC_CMD_MASK not MMC_CMD_TYPE. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
b00dc3ad74
commit
5bd546aa78
@ -49,7 +49,7 @@ struct mmc_command {
|
|||||||
/*
|
/*
|
||||||
* These are the command types.
|
* These are the command types.
|
||||||
*/
|
*/
|
||||||
#define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_TYPE)
|
#define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK)
|
||||||
|
|
||||||
unsigned int retries; /* max number of retries */
|
unsigned int retries; /* max number of retries */
|
||||||
unsigned int error; /* command error */
|
unsigned int error; /* command error */
|
||||||
|
Loading…
Reference in New Issue
Block a user