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:
parent
af32e2cc32
commit
559f60214b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user