diff options
author | Bibek Basu <bbasu@nvidia.com> | 2014-09-29 12:58:00 +0530 |
---|---|---|
committer | Winnie Hsu <whsu@nvidia.com> | 2014-10-02 10:37:52 -0700 |
commit | 4d7e90b09fb42478c4570c3241c8b7904cb47d46 (patch) | |
tree | 159e2efc2be0d524d24932fc902c467484317166 | |
parent | 73c05bb3d4649fc27a45a80ca472271e65da9a2a (diff) |
mmc: sdhci: tegra: initialize local variable
Initialize uninitialized variable
vmin_tap_hole & vmax_tap_hole
Bug 200042035
Change-Id: I5e9303f2b585423d936b289a59228028275ec5ec
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/542582
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
-rw-r--r-- | drivers/mmc/host/sdhci-tegra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index 605df7aa22c1..485570c75a2d 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -1918,8 +1918,8 @@ static int adjust_window_boundaries(struct sdhci_host *sdhci, struct tap_window_data *temp_tap_data) { struct tap_window_data *tap_data; - int vmin_tap_hole; - int vmax_tap_hole; + int vmin_tap_hole = 0; + int vmax_tap_hole = 0; u8 i = 0; for (i = 0; i < tuning_data->num_of_valid_tap_wins; i++) { |