On 14.03.24 19:47, Steffen Trumtrar wrote: > Use the newly introduced define for High Speed timing mode instead of > just '1'. > > Signed-off-by: Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx> Reviewed-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> > --- > drivers/mci/mci-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c > index e825c91c80..ebfd3e9fb8 100644 > --- a/drivers/mci/mci-core.c > +++ b/drivers/mci/mci-core.c > @@ -683,7 +683,7 @@ static int mmc_change_freq(struct mci *mci) > > cardtype = mci->ext_csd[EXT_CSD_DEVICE_TYPE] & EXT_CSD_CARD_TYPE_MASK; > > - err = mci_switch(mci, EXT_CSD_HS_TIMING, 1); > + err = mci_switch(mci, EXT_CSD_HS_TIMING, EXT_CSD_TIMING_HS); > > if (err) { > dev_dbg(&mci->dev, "MMC frequency changing failed: %d\n", err); > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |