[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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue