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

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

Merge "mmc: core: Added ftrace log and ring buffer log in mmc_set_ios"

parents 99e12ff2 52a9027f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1836,6 +1836,12 @@ static inline void mmc_set_ios(struct mmc_host *host)
				mmc_hostname(host), ios->old_rate / 1000,
				ios->clock / 1000, jiffies_to_msecs(
					(long)jiffies - (long)ios->clk_ts));
			trace_mmc_clk(trace_info);
			mmc_log_string(host,
				"freq_KHz %d --> %d | t = %d",
				ios->old_rate / 1000,
				ios->clock / 1000, jiffies_to_msecs(
					(long)jiffies - (long)ios->clk_ts));
		}
		ios->old_rate = ios->clock;
		ios->clk_ts = jiffies;