Message ID | 1401469970-26865-1-git-send-email-srinivas.kandagatla@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBC27VH7PV4DBBHHYUKOAKGQEO7NANOA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8E46920671 for <linaro@patches.linaro.org>; Fri, 30 May 2014 17:13:01 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf10154950oag.4 for <linaro@patches.linaro.org>; Fri, 30 May 2014 10:13:01 -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=jN3XklUEmoIuQY49GSet7Cp4Dn0Ea+AMmqFqxaDXwOwfsA1j4Q4phBuvJxk9VU/4GV 9IeUYnLJ1fxiR2vb7Ex34iYL+N+njzeoqShu8YPnwZ1BN7krIuN8JWF63Vwio+AAS6Jm zwuJjFP3K65qG5OFpgTup4w7ylTTW8lAnnOiWnEmsabjg1oM/uTXX/1DjKmyzxmKVvVn SxPV7ANwyHFJisp5zJV3TQE1cgD3kBmr5mHCVmk931hwdfETeP5bX8Y7fuH8JSp/ZHMA tH8zVAKk41b4faGrGh//GJWHgrMPM7Il+hzEk1xZXoXeCCVz3ueQ3Atob1S5wpQGEPWc QKUQ== X-Gm-Message-State: ALoCoQkEC7491PGa5jyj8ST4B3/LK1ReeHoneUVDZI+emlVKHZg8PerQUG9FAMxHh+i1qWOaBC1i X-Received: by 10.50.254.1 with SMTP id ae1mr2261320igd.6.1401469980970; Fri, 30 May 2014 10:13:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.29.4 with SMTP id a4ls1138974qga.45.gmail; Fri, 30 May 2014 10:13:00 -0700 (PDT) X-Received: by 10.52.120.75 with SMTP id la11mr2927592vdb.56.1401469980799; Fri, 30 May 2014 10:13:00 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id be5si3557581vdb.107.2014.05.30.10.13.00 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 10:13:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id ik5so2226032vcb.33 for <patchwork-forward@linaro.org>; Fri, 30 May 2014 10:13:00 -0700 (PDT) X-Received: by 10.53.13.133 with SMTP id ey5mr12900904vdd.8.1401469980706; Fri, 30 May 2014 10:13:00 -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 ib8csp128185vcb; Fri, 30 May 2014 10:13:00 -0700 (PDT) X-Received: by 10.66.162.74 with SMTP id xy10mr20875218pab.4.1401469979187; Fri, 30 May 2014 10:12:59 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ja1si6283875pbc.254.2014.05.30.10.12.58; Fri, 30 May 2014 10:12:58 -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 S933748AbaE3RM5 (ORCPT <rfc822;patch@linaro.org> + 3 others); Fri, 30 May 2014 13:12:57 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:40543 "EHLO mail-we0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934048AbaE3RM4 (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Fri, 30 May 2014 13:12:56 -0400 Received: by mail-we0-f172.google.com with SMTP id k48so2361478wev.17 for <linux-arm-msm@vger.kernel.org>; Fri, 30 May 2014 10:12:55 -0700 (PDT) X-Received: by 10.180.210.174 with SMTP id mv14mr8616219wic.47.1401469974911; Fri, 30 May 2014 10:12:54 -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 dr6sm7506464wid.6.2014.05.30.10.12.52 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 May 2014 10:12:53 -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 v5 01/13] mmc: mmci: use NSEC_PER_SEC macro Date: Fri, 30 May 2014 18:12:50 +0100 Message-Id: <1401469970-26865-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401469918-26817-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1401469918-26817-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.220.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;