]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
mmc: sdhci: perf stats fix enable type mismatch
authorBitan Biswas <bbiswas@nvidia.com>
Wed, 3 Dec 2014 14:30:59 +0000 (20:00 +0530)
committerBitan Biswas <bbiswas@nvidia.com>
Wed, 10 Dec 2014 13:59:53 +0000 (05:59 -0800)
We see sdhci profiling enable does not happen
sometimes. This is because we read the user input
as u32 but the structure member is declared
boolean. This patch makes the type consistent
by making the type as unsigned int.

Change-Id: Ib5b6f02a98215f8cdda6bfb90c6018a97393b840
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/659015

include/linux/mmc/sdhci.h

index 0bb383f316bf6d6fbce94117be72d17af456ba7e..f82279a5c33d062de568b45928427ce4b63be43f 100644 (file)
@@ -252,7 +252,7 @@ struct sdhci_host {
        struct delayed_work     delayed_clk_gate_wrk;
        bool                    is_clk_on;
 #ifdef CONFIG_DEBUG_FS
-       bool                    enable_sdhci_perf_stats;
+       unsigned int            enable_sdhci_perf_stats;
 #endif
        int                     clk_gate_tmout_ticks;