]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
mmc: core: set device min_freq to 0
authorNaveen Kumar Arepalli <naveenk@nvidia.com>
Mon, 15 Apr 2013 16:03:31 +0000 (21:33 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:10:21 +0000 (13:10 -0700)
set device min_freq to 0, It should not be f_min

Bug 1238045
Bug 1044607

Reviewed-on: http://git-master/r/219437
(cherry picked from commit 4075caf98c111c74089a058ee73324e7f8b8ecc0)
Change-Id: Ifc10a4375953e52f6d414beff0ebc09057914d14
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/223376
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
drivers/mmc/core/core.c

index 97e35b88a19fccd5d72674dbbbea113beb4642ae..47f23944a9474a45c484817f87355528b0808a40 100644 (file)
@@ -5,6 +5,7 @@
  *  SD support Copyright (C) 2004 Ian Molton, All Rights Reserved.
  *  Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
  *  MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved.
+ *  Copyright (c) 2012-2013, NVIDIA CORPORATION.  All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -2830,7 +2831,7 @@ int mmc_devfreq_init(struct mmc_host *host)
        }
 
        /* Set the frequency constraints for the device */
-       df->min_freq = host->f_min;
+       df->min_freq = 0;
        if (mmc_card_mmc(host->card)) {
                df->max_freq = max(host->card->ext_csd.hs_max_dtr,
                        host->card->csd.max_dtr);