Message ID | 1400146576-29846-1-git-send-email-srinivas.kandagatla@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBC27VH7PV4DBBGUV2KNQKGQENSGZW2A@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7F8A920446 for <linaro@patches.linaro.org>; Thu, 15 May 2014 09:36:27 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id l6sf4211718oag.3 for <linaro@patches.linaro.org>; Thu, 15 May 2014 02:36:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=wpLmktm1RFrLSf6LTx8iw0tzFy5STM9rkmAcZ6DBA90=; b=h9p2zaZx1uCbgYH3ZZp+ouvSzQDdon8wiGilrBt9ihodEcNu71sjmHjSewFLPzO09U p0oySALSAhDwFM0KAYp6ZIMMZ3lCvBq6RORJkyRxISsag1wz1fBE5QL60K3EPMCuD1yK 9zN1D4mO2P58xmENVPF1bII/9GrNB1D+Ey9V2Ppka/WE2Kk8E8gJZQAX/OMqb1whQfDZ /15GCIg6x77yk/sgJpr7jDbUW9UaYLVw8IN/Tc8o5WKw86t54/AU9dRcj9lYe1xoaI8b tIHMTW9WgpsfjVXUV4SD4HCouHhg1Dx9DK8OEXUAW4oLPxLbukXgOZlTJLK/uxBbJkKR DZoQ== X-Gm-Message-State: ALoCoQkdJLwPwCapPfwFpVkNm8DMOfoiVSKHW6ZdcQW80qR/hil4lUwZTocXR+sjPbSu1BjcRNgp X-Received: by 10.42.233.133 with SMTP id jy5mr1469916icb.32.1400146587003; Thu, 15 May 2014 02:36:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.87 with SMTP id v81ls170400qge.0.gmail; Thu, 15 May 2014 02:36:26 -0700 (PDT) X-Received: by 10.58.112.8 with SMTP id im8mr475991veb.35.1400146586914; Thu, 15 May 2014 02:36:26 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id m3si833368vcr.131.2014.05.15.02.36.26 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 May 2014 02:36:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id oy12so922110veb.24 for <patchwork-forward@linaro.org>; Thu, 15 May 2014 02:36:26 -0700 (PDT) X-Received: by 10.52.13.41 with SMTP id e9mr6520075vdc.21.1400146586788; Thu, 15 May 2014 02:36:26 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp307784vcb; Thu, 15 May 2014 02:36:26 -0700 (PDT) X-Received: by 10.66.161.69 with SMTP id xq5mr11144706pab.62.1400146585057; Thu, 15 May 2014 02:36:25 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ln8si4769749pab.187.2014.05.15.02.36.24; Thu, 15 May 2014 02:36:24 -0700 (PDT) Received-SPF: none (google.com: linux-arm-msm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751455AbaEOJgX (ORCPT <rfc822;patch@linaro.org> + 3 others); Thu, 15 May 2014 05:36:23 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:48532 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751304AbaEOJgW (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Thu, 15 May 2014 05:36:22 -0400 Received: by mail-wi0-f173.google.com with SMTP id bs8so9448138wib.6 for <linux-arm-msm@vger.kernel.org>; Thu, 15 May 2014 02:36:21 -0700 (PDT) X-Received: by 10.180.104.197 with SMTP id gg5mr29972376wib.2.1400146581149; Thu, 15 May 2014 02:36:21 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-145-240-98.as13285.net. [78.145.240.98]) by mx.google.com with ESMTPSA id h3sm32614839wiz.16.2014.05.15.02.36.19 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 May 2014 02:36:20 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: Russell King <linux@arm.linux.org.uk>, Ulf Hansson <ulf.hansson@linaro.org>, linux-mmc@vger.kernel.org Cc: Chris Ball <chris@printf.net>, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linus.walleij@linaro.org, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH v2 01/14] mmc: mmci: use NSEC_PER_SEC macro Date: Thu, 15 May 2014 10:36:16 +0100 Message-Id: <1400146576-29846-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1400146447-29803-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1400146447-29803-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-arm-msm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index a084edd..a38e714 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -718,7 +718,7 @@ static void mmci_start_data(struct mmci_host *host, struct mmc_data *data) data->bytes_xfered = 0; clks = (unsigned long long)data->timeout_ns * host->cclk; - do_div(clks, 1000000000UL); + do_div(clks, NSEC_PER_SEC); timeout = data->timeout_clks + (unsigned int)clks;