/* Sets the host clock to the highest possible frequency that is below "hz".  */
void mmc_set_clock(struct mmc_host *host, unsigned int hz)
/* Sets the host clock to the highest possible frequency that is below "hz".  */
void mmc_set_clock(struct mmc_host *host, unsigned int hz)
{
	WARN_ON(hz < host->f_min);
	if (hz > host->f_max)
		hz = host->f_max;
	host->ios.clock = hz;
	mmc_set_ios(host);
}