Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp154097ybt; Thu, 9 Jul 2020 18:17:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRRoebd6Wc1W9ylYMHDab7vQfs4O5vPvkuSnGYZEBbD3Iq+sofNnymtHKRxVmp2T3s9CCP X-Received: by 2002:a50:d7c1:: with SMTP id m1mr76184795edj.217.1594343857689; Thu, 09 Jul 2020 18:17:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594343857; cv=none; d=google.com; s=arc-20160816; b=1EHSwum1bhQBqzzgIvSbap5PhDm8rdf0Wdm1ceBogGg+Cd1qqwhKVKF8Dp+o+MQf1k SB4aqSSbQAsLd623aQsvRFsjMGZjpb7/NJiIPO/5cbE0HJRVsyt5bjnR8kxbJ+SvkPLd /6bwBn/gJgF82EGX628magibYFlyu3D3SXjelMmC9JA4J0QBjirCWIzNIqwDBkpRILJv ADEtzo702AJUddAPWl3cGFIizmSex/gFdTXl4QNOvoLeQvex7B/Lxo+CGo6V8XSPzT5s U2mObK+NzBLpv+Au5dflB1pIMRLtBL30sqF83AfFBnskS7cpyu6UFLRQ35fgiM2Bl0lj Gnwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:user-agent:dkim-signature :dkim-signature; bh=yw9HbxmYVrUStuFGG15xWYmuHOEp4mbrjs7zPres9Ds=; b=uSzibTucpYYsOaOF9jNZTcold90x6h+N5pQE+VQme8ZFZPJnP5SZYt7bXhSLz0A+Gs RSicUvDoKJuHQc0F+uk2yGK0irSrL+DLFK2N6Du8kXyc1tPpHX2z7lsI452SRlw5P0Tm B643fsHjgnBvCSsYA/JoQ5djOQack8cibDPkctvQ652DmocWSpnffGPbbeZJe6Af3iYA 9HTc1WjFF17VABh5sao3eyMCLjdYwmo1oL0acmSaAlgumXWiryI82KLczIhDQvtLKbEm l1OlbNQj3/2+FYO28XP7g9+PinskYq+I+EjvCzN4DC6qe3hkyrE2yFaIgK1FQPD3bsxM eoRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=nbX6FxWq; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Yitk5wyJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si3221155edr.207.2020.07.09.18.17.14; Thu, 09 Jul 2020 18:17:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=nbX6FxWq; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Yitk5wyJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726890AbgGJBOZ (ORCPT + 99 others); Thu, 9 Jul 2020 21:14:25 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:53103 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726311AbgGJBOX (ORCPT ); Thu, 9 Jul 2020 21:14:23 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 4DCFA2E3; Thu, 9 Jul 2020 21:14:22 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Thu, 09 Jul 2020 21:14:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm3; bh=yw9HbxmYVrUStuFGG15xWYmuHOEp4mb rjs7zPres9Ds=; b=nbX6FxWqm7xH1s8bcJ6VKQgvibPNZwzXHk8GeKQam5IJfH3 ES5IjDIFHNeB39MXXAKRPDPz3xXczt133heBRVoonQ/A4Due0kGY3Kqj7nejT/1T DmzSz8LOSNuN0LKxdpUoMzLfH8pfXL+3TFTM/YJ+wcQnMtWWsYPtLkbvh9g16Qz6 579Zce5dihAC1CZDT2QuEHrdRUSLHp+QI4G8fxfrZvBkuI29vLbDHmrFtL2GFZlX q4QscgnDOSJUifKAGnxNyUTKD/4r4UctcEc+/A9ul+lI6Zwv9WBJfTUL9zIwDxSW rr81A6x1Y4MQhge32sC+Y4vwaXBVkCUxsZIAENQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=yw9Hbx mYVrUStuFGG15xWYmuHOEp4mbrjs7zPres9Ds=; b=Yitk5wyJCWnlKpxOnjf389 XMJK0dnGDNDYEBOF7FQ7ScdS7N5jhUxjE0FNoB9V7iTsUbIPlCgBfrkO5duA/s0O /WMeCuYTKM2nYBoQQfxRxjv7y7nEUc2ED/vVbbzT/I0iYNsIiNGSij5DcmIa1kJz 6frLO+jGYiSUvpHZi/Omqv1OuabKj1raUQNk6txvr/OMZsngpRHQrskjMK8HYgGg G1evBDieb24xQo1Fs7HaiLIuElFEoQx2hAEcw4MdUUYb8Q7sdcUr74LPy/3mkJKq xxB7oPOR6A5TNV2fFRJR574O4aIW8seyhqRUAG9Anflu3VpFux+AkX345gvxXbTg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrvddtgdegfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftehnughr vgifucflvghffhgvrhihfdcuoegrnhgurhgvfiesrghjrdhiugdrrghuqeenucggtffrrg htthgvrhhnpeehhfefkefgkeduveehffehieehudejfeejveejfedugfefuedtuedvhefh veeuffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvfiesrghjrdhiugdrrghu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 77FD0E00AA; Thu, 9 Jul 2020 21:14:20 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-dev0-613-g8a73ad6-fm-20200709.001-g8a73ad6e Mime-Version: 1.0 Message-Id: <4acad452-33c7-4fb2-ba90-19a824558b94@www.fastmail.com> In-Reply-To: <20200709195706.12741-3-eajames@linux.ibm.com> References: <20200709195706.12741-1-eajames@linux.ibm.com> <20200709195706.12741-3-eajames@linux.ibm.com> Date: Fri, 10 Jul 2020 10:43:59 +0930 From: "Andrew Jeffery" To: "Eddie James" , linux-clk@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-mmc , "Joel Stanley" , "Ulf Hansson" , "Adrian Hunter" , "Stephen Boyd" , "Michael Turquette" Subject: Re: [PATCH 2/2] mmc: sdhci-of-aspeed: Fix clock divider calculation Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 10 Jul 2020, at 05:27, Eddie James wrote: > When calculating the clock divider, start dividing at 2 instead of 1. > The divider is divided by two at the end of the calculation, so starting > at 1 may result in a divider of 0, which shouldn't happen. > > Signed-off-by: Eddie James Reviewed-by: Andrew Jeffery