Message ID | 1401700119-11464-1-git-send-email-srinivas.kandagatla@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBC27VH7PV4DBBJP6WCOAKGQEDMMHELA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 669D7203C2 for <linaro@patches.linaro.org>; Mon, 2 Jun 2014 09:08:53 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id 29sf24245298yhl.2 for <linaro@patches.linaro.org>; Mon, 02 Jun 2014 02:08:53 -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=CeWYUtrrttUmxIDJLyBJS+OitGfjxz8S0bexbPQ6lwkis+mEwqHy5zlzMZj4qjHCns 4LuHXKhrTanQ3LKHIUzwVwBrQenZE5OBc8hdZIuLf7PQE/RCbhRsbyTHwgdEDvGnRGRf ykspG35k8T9/2gJZnWL85eKbXjVlhhiVn12DeQpR6Nu1PPXx81kdtdBQ0oaWidWqWoIH JzcJvSffVK2yJ0S8os6SclEPPfRSLZEh5OMGtptRSJO2pdzMnSIZ7WvpxRRpPMUaW7L8 0LSAh+yc3ulYKAyVtDfq/StZ5DbJBZkK97ifMta15ppsLcSZX4e9n7iGcc2dMgK6xYC1 Q33Q== X-Gm-Message-State: ALoCoQku+U4nb2hkv1+uhCrvjap6AGOJqU58xOIT5ZmIAH3wq9YMPBd0554NxzchBDgtE0XxHXmV X-Received: by 10.58.132.177 with SMTP id ov17mr13766362veb.25.1401700133170; Mon, 02 Jun 2014 02:08:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.49 with SMTP id z46ls1861192qge.50.gmail; Mon, 02 Jun 2014 02:08:53 -0700 (PDT) X-Received: by 10.220.249.6 with SMTP id mi6mr2014219vcb.33.1401700133021; Mon, 02 Jun 2014 02:08:53 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id xa4si7593516vcb.12.2014.06.02.02.08.53 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Jun 2014 02:08:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.171 as permitted sender) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id oz11so4827455veb.2 for <patchwork-forward@linaro.org>; Mon, 02 Jun 2014 02:08:52 -0700 (PDT) X-Received: by 10.58.228.163 with SMTP id sj3mr2716615vec.28.1401700132942; Mon, 02 Jun 2014 02:08:52 -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 ib8csp82607vcb; Mon, 2 Jun 2014 02:08:52 -0700 (PDT) X-Received: by 10.68.181.67 with SMTP id du3mr38633619pbc.96.1401700131410; Mon, 02 Jun 2014 02:08:51 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1si15050387pbw.91.2014.06.02.02.08.51; Mon, 02 Jun 2014 02:08:51 -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 S1753010AbaFBJIq (ORCPT <rfc822;patch@linaro.org> + 3 others); Mon, 2 Jun 2014 05:08:46 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:47279 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752976AbaFBJIp (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Mon, 2 Jun 2014 05:08:45 -0400 Received: by mail-wg0-f41.google.com with SMTP id z12so4799518wgg.12 for <linux-arm-msm@vger.kernel.org>; Mon, 02 Jun 2014 02:08:44 -0700 (PDT) X-Received: by 10.180.12.201 with SMTP id a9mr20106342wic.25.1401700124424; Mon, 02 Jun 2014 02:08:44 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-149-12-106.as13285.net. [78.149.12.106]) by mx.google.com with ESMTPSA id gi8sm30842760wib.8.2014.06.02.02.08.42 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Jun 2014 02:08:43 -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 v6 01/12] mmc: mmci: use NSEC_PER_SEC macro Date: Mon, 2 Jun 2014 10:08:39 +0100 Message-Id: <1401700119-11464-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401699818-11329-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1401699818-11329-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.171 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;