Skip to content
Snippets Groups Projects
Commit d6b2e508 authored by Marek Vasut's avatar Marek Vasut Committed by Andy Fleming
Browse files

mmc: Fix mmc_spi error on cmd->flags field


The recent removal of the cmd->flags field caused error in the
debuging code of mmc_spi. Fix this:

mmc_spi.c: In function 'mmc_spi_request':
mmc_spi.c:179:2: error: 'struct mmc_cmd' has no member named 'flags'

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Andy Fleming <afleming@freescale.com>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent 49a627f8
No related branches found
No related tags found
No related merge requests found
...@@ -176,8 +176,8 @@ static int mmc_spi_request(struct mmc *mmc, struct mmc_cmd *cmd, ...@@ -176,8 +176,8 @@ static int mmc_spi_request(struct mmc *mmc, struct mmc_cmd *cmd,
u8 r1; u8 r1;
int i; int i;
int ret = 0; int ret = 0;
debug("%s:cmd%d %x %x %x\n", __func__, debug("%s:cmd%d %x %x\n", __func__,
cmd->cmdidx, cmd->resp_type, cmd->cmdarg, cmd->flags); cmd->cmdidx, cmd->resp_type, cmd->cmdarg);
spi_claim_bus(spi); spi_claim_bus(spi);
spi_cs_activate(spi); spi_cs_activate(spi);
r1 = mmc_spi_sendcmd(mmc, cmd->cmdidx, cmd->cmdarg); r1 = mmc_spi_sendcmd(mmc, cmd->cmdidx, cmd->cmdarg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment