dwmmc: Remove dwmmc_setup_bus call from start_cmd

There is no need to re-setup the bus before each commands.
Tested-on:  Rock64, RockPro64
Reported by:	    avg
This commit is contained in:
Emmanuel Vadot 2021-09-21 17:52:38 +02:00
parent af32e2cc32
commit 559f60214b

View file

@ -1102,9 +1102,6 @@ dwmmc_start_cmd(struct dwmmc_softc *sc, struct mmc_command *cmd)
sc->curcmd = cmd;
data = cmd->data;
if ((sc->hwtype & HWTYPE_MASK) == HWTYPE_ROCKCHIP)
dwmmc_setup_bus(sc, sc->host.ios.clock);
#ifndef MMCCAM
/* XXX Upper layers don't always set this */
cmd->mrq = sc->req;