From 0d3c8584885a7c76929bfa59fa34e44a2134ae1f Mon Sep 17 00:00:00 2001 From: Faiz Abbas Date: Wed, 26 Feb 2020 13:44:29 +0530 Subject: [PATCH] mmc: Add a saved_clock member Add a saved_clock member to struct mmc to store the previous clock speed in the clock needs to be stopped for some time. Signed-off-by: Faiz Abbas Signed-off-by: Lokesh Vutla --- include/mmc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/mmc.h b/include/mmc.h index 4bdeb929d7..8a9ea0bf98 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -605,6 +605,7 @@ struct mmc { bool clk_disable; /* true if the clock can be turned off */ uint bus_width; uint clock; + uint saved_clock; enum mmc_voltage signal_voltage; uint card_caps; uint host_caps; -- 2.39.5