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

Commit 4be08dcb authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: core: Fix uninitialized clock scaling's freq table"

parents 6c9cb4c4 a455049e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1164,12 +1164,11 @@ static int mmc_sd_init_card(struct mmc_host *host, u32 ocr,
		err = -EINVAL;
		goto free_card;
	}

done:
#if defined(CONFIG_SDC_QTI)
	card->clk_scaling_highest = mmc_sd_get_max_clock(card);
	card->clk_scaling_lowest = host->f_min;
#endif
done:
	host->card = card;
	return 0;