Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cfb20a5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: mmc: fix issue with clock scaling in HS200 mode" into msm-4.9

parents 7e009f89 edac91ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1833,7 +1833,7 @@ static int mmc_change_bus_speed(struct mmc_host *host, unsigned long *freq)
	 * for other timings we can simply do clock frequency change
	 */
	if (mmc_card_hs400(card) ||
		(*freq == MMC_HS200_MAX_DTR)) {
		(!mmc_card_hs200(host->card) && *freq == MMC_HS200_MAX_DTR)) {
		err = mmc_set_clock_bus_speed(card, *freq);
		if (err) {
			pr_err("%s: %s: failed (%d)to set bus and clock speed (freq=%lu)\n",