Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bd546aa authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[MMC] Fix mmc_cmd_type() mask



It's MMC_CMD_MASK not MMC_CMD_TYPE.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b00dc3ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ struct mmc_command {
/*
 * 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		error;		/* command error */