Message ID | 1400849417-7055-1-git-send-email-srinivas.kandagatla@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBC27VH7PV4DBBHMI7WNQKGQEH3NGNHI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 28B432066E for <linaro@patches.linaro.org>; Fri, 23 May 2014 12:50:38 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id lc6sf16425628vcb.7 for <linaro@patches.linaro.org>; Fri, 23 May 2014 05:50:37 -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=BdhqRDDqlYnNOK6+8fuWjBTvYUSG4ZXZY1Rz6SJ/az8=; b=cPeN7blUOlCQGO2AaB2+q99DEA/xfYL6qIl+ZejZaLlhZwQXIzkh0auKVdx/IMKpDi ad6dzNRKwD+z4TBGxAASlbZdZh4jogkrPrml1GdNL8oA/6Txv7Y4AlmZdX6kgMQIoQX6 VsoEVybpksWwKkdYNc3SbCcAfF/w/UQYmcSpmLBa/KspkvEtzbIbyf/p+szdJmUrqhhd muzKqttA3yMMyLyvTl6F4gzrRwLWgcZPJvNfEEyKsBzHFfZIrAlcRbsWGaFV51BzOqYr NPXPpctE+xc+0igkL9s/m+sbpjSD6QTcBj7cPvYX4EodHldLoOJGmMgfbmabQyTQCydJ dFEQ== X-Gm-Message-State: ALoCoQkWKQr84TTZiC1dFCMXaVxQ0VNuSbeadLR80jFYNLjC/RpL42YcOhlWj7eT/5LHsOvzD1cy X-Received: by 10.58.41.39 with SMTP id c7mr1546358vel.25.1400849437965; Fri, 23 May 2014 05:50:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.82.37 with SMTP id g34ls1712163qgd.64.gmail; Fri, 23 May 2014 05:50:37 -0700 (PDT) X-Received: by 10.220.59.65 with SMTP id k1mr3948967vch.22.1400849437821; Fri, 23 May 2014 05:50:37 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id i19si1548990vdt.5.2014.05.23.05.50.37 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 05:50:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id jw12so6224566veb.33 for <patchwork-forward@linaro.org>; Fri, 23 May 2014 05:50:37 -0700 (PDT) X-Received: by 10.52.93.201 with SMTP id cw9mr153047vdb.80.1400849437752; Fri, 23 May 2014 05:50:37 -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 ib8csp28874vcb; Fri, 23 May 2014 05:50:36 -0700 (PDT) X-Received: by 10.67.2.34 with SMTP id bl2mr5645830pad.58.1400849436141; Fri, 23 May 2014 05:50:36 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pn2si3747715pbb.70.2014.05.23.05.50.35 for <sandeep.tripathy@linaro.org>; Fri, 23 May 2014 05:50:35 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S1752436AbaEWMu0 (ORCPT <rfc822;sandeep.tripathy@linaro.org> + 27 others); Fri, 23 May 2014 08:50:26 -0400 Received: from mail-we0-f181.google.com ([74.125.82.181]:39022 "EHLO mail-we0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751809AbaEWMuX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 23 May 2014 08:50:23 -0400 Received: by mail-we0-f181.google.com with SMTP id w61so4918503wes.12 for <linux-kernel@vger.kernel.org>; Fri, 23 May 2014 05:50:21 -0700 (PDT) X-Received: by 10.194.161.168 with SMTP id xt8mr4043637wjb.35.1400849421899; Fri, 23 May 2014 05:50:21 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-149-4-211.as13285.net. [78.149.4.211]) by mx.google.com with ESMTPSA id v15sm3804283wjq.17.2014.05.23.05.50.19 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 May 2014 05:50: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 v3 01/13] mmc: mmci: use NSEC_PER_SEC macro Date: Fri, 23 May 2014 13:50:17 +0100 Message-Id: <1400849417-7055-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1400849362-7007-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1400849362-7007-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@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.174 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;