Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762474AbYA1TLO (ORCPT ); Mon, 28 Jan 2008 14:11:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761760AbYA1TJp (ORCPT ); Mon, 28 Jan 2008 14:09:45 -0500 Received: from smtp.nokia.com ([192.100.122.233]:23415 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762021AbYA1TJn (ORCPT ); Mon, 28 Jan 2008 14:09:43 -0500 Message-ID: <479E27DE.2060003@indt.org.br> Date: Mon, 28 Jan 2008 15:07:10 -0400 From: Carlos Aguiar User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Pierre Ossman CC: Tony Lindgren , linux-kernel@vger.kernel.org Subject: [PATCH 02/18] MMC: OMAP: Remove extra divisor increase X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Jan 2008 19:08:56.0321 (UTC) FILETIME=[3ADDCF10:01C861E1] X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 939 Lines: 30 From: Tony Lindgren As noted by Kyungmin Park, the divisor calculation has an unnecessary increase. Signed-off-by: Tony Lindgren Signed-off-by: Carlos Eduardo Aguiar --- drivers/mmc/host/omap.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 9374163..9b32110 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c @@ -937,7 +937,6 @@ static int mmc_omap_calc_divisor(struct mmc_host *mmc, struct mmc_ios *ios) if (dsor > 250) dsor = 250; - dsor++; if (ios->bus_width == MMC_BUS_WIDTH_4) dsor |= 1 << 15; -- 1.5.3.GIT -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/