diff options
Diffstat (limited to 'drivers/mmc/octeontx_hsmmc.c')
| -rw-r--r-- | drivers/mmc/octeontx_hsmmc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mmc/octeontx_hsmmc.c b/drivers/mmc/octeontx_hsmmc.c index 3b5e1221732..bb4fb29424b 100644 --- a/drivers/mmc/octeontx_hsmmc.c +++ b/drivers/mmc/octeontx_hsmmc.c @@ -1545,7 +1545,7 @@ static int octeontx_mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, slot->is_acmd = (cmd->cmdidx == MMC_CMD_APP_CMD); - if (!cmd->resp_type & MMC_RSP_PRESENT) + if (!(cmd->resp_type & MMC_RSP_PRESENT)) debug(" Response type: 0x%x, no response expected\n", cmd->resp_type); /* Get the response if present */ @@ -2828,9 +2828,6 @@ static void octeontx_mmc_io_drive_setup(struct mmc *mmc) struct octeontx_mmc_slot *slot = mmc_to_slot(mmc); union mio_emm_io_ctl io_ctl; - if (slot->drive < 0 || slot->slew < 0) - return; - io_ctl.u = 0; io_ctl.s.drive = slot->drive; io_ctl.s.slew = slot->slew; |
