From 70c15df6f19c5fae8091f53ef4e3ad8d542edd2f Mon Sep 17 00:00:00 2001 From: Naveen Kumar Arepalli Date: Mon, 15 Apr 2013 21:33:31 +0530 Subject: [PATCH] mmc: core: set device min_freq to 0 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 Reviewed-on: http://git-master/r/223376 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu --- drivers/mmc/core/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 97e35b88a19..47f23944a94 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -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); -- 2.39.2