Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp376027ybt; Fri, 10 Jul 2020 02:04:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOquyShGujnGKnQ/VYsqHOhvkLAN26kY5WBbUlJKeOJ5yfqmU0vjJq8Wh/GlBso6ufOVmr X-Received: by 2002:a05:6402:30b2:: with SMTP id df18mr77141056edb.229.1594371851802; Fri, 10 Jul 2020 02:04:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594371851; cv=none; d=google.com; s=arc-20160816; b=Mac8tFdoUaJrT5+unr6mzyeLgIHnDR6JEtqAz/4aYLmOIqJ9RZKhm25/FaEvkjyhaS 54cSgc2uo9vA4R5GvqniibwgRai9pCFx/Bf0wjfUCZ5M8/bMHsxCbOoXhqjSb4aQmLV+ AdrnKtdVorGi2XprSJsIohzRmTPU/BksgXSRMvUMaM2GE7S9QqXSw5Yu1Aippj0zB95W 5xqDilf7fkPkBofuG0xLDkyP4go7HigYdZFiB2eXBu/y76/+Ty2k22ygCYvH5Y964ZVG qwwyuWJ3HurHsCDFrD+VuyuYJ5p8zcW6ywxkwpvHoO+Z8slMWzzVP0x7sP8iBk48LHNB xm5Q== 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=qBWL4AtRVUCS4PrimpvMkvUA7sHeyrthOzfKLQeVpsM=; b=EDWhu+lPBXaKEuaXvHrpxhjCPp/c1CuTNeuu1hmDEREZ07SxU0sHrDHIcsTRX6RG5i KQtJQpslXlyKlnievXANZ94M/RBZLtZH3VQ6ttEoUW3hsGs2B6f51GYdY4t3xwPkr70U UMTOfsGUQ60yNmsGexnIcH99UUBNExRxCfRhQXXqT7c1Uuiaf+x8n4J2jPu8p6A5sehL +EkNm+X1LFkh2fXZxSVQCUrTZlbMpZ6gWxpVgrzAJDG7KF9FRye9oCfoksqIkV220f5u tI6XQLe9aq+ack3TkhU8A8HpvYnj687cM+75gZ3NGwhBlowMaSzqjGjEtvs+ybhsjqCg J6SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=Ii45a4UN; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="oEi3k9/M"; 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 lc19si3453491ejb.584.2020.07.10.02.03.46; Fri, 10 Jul 2020 02:04:11 -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=Ii45a4UN; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="oEi3k9/M"; 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 S1727947AbgGJJAf (ORCPT + 99 others); Fri, 10 Jul 2020 05:00:35 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:43749 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726496AbgGJJAf (ORCPT ); Fri, 10 Jul 2020 05:00:35 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 17415C9B; Fri, 10 Jul 2020 05:00:34 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Fri, 10 Jul 2020 05:00:34 -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=qBWL4AtRVUCS4PrimpvMkvUA7sHeyrt hOzfKLQeVpsM=; b=Ii45a4UNgE5tukdKSH0mdZvUmPJEQ7A5PMen8jtuQhM0mBI G8MVxT+q/KDJb1+JI9shtQYlHrXGxcHg9Q0dJy0xc2tzeZWS1Rkyiz6cYQ7HvqgA DPXoyIr4sdHdMC4cuV6hrC1Kk6W1o/6ndUOE637JVSntNjV7uVOyg9brZ534065B Zg0R4knO9pnL0zjatEaNvSKKZ1OOxJScjJzsxatqxs0ccvlgtBAndImHyZmCQpVH vJ/Fp4BCDSVjtm37u0b6fREX6cEYno4zjcw8GWmz6LsmCqPx+o6G/PmM+ocVBw6/ +Ep0qUayer1mjFcZNUEfiQChF7sHVlELyVXVamg== 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=qBWL4A tRVUCS4PrimpvMkvUA7sHeyrthOzfKLQeVpsM=; b=oEi3k9/MoUzI9/O6aQgtpz XWFUssCB/FnfwlKvndubAxirCZHgy6JiY2NWyi9Ico9F9828yWWcm5NjqssO94jb RSSNsu4n5T9jx4E/eE8dD0dhx2jqTUqDlPSjsnVqh00lbfUX7icqcOkPFfnI82vv 4FZfYnbXk/4UaQv7hAKb0NtItfMQqmdDznKAbyq2XgHjed/j+XDT3A6G382OyY/p UfN0ubhcAl7BlB9Vdvhk2hN/gWVmmtQBrcGjJK0G+h+lx+T9xkYZ3zZQbJWvVTOh KnMtmExF4dgo5NjIiMFr+45IT4jaPrAVU3UJzqNPrDkk57FbtpQo5A+ol7dfEsjw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrvddugdduvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftehnughr vgifucflvghffhgvrhihfdcuoegrnhgurhgvfiesrghjrdhiugdrrghuqeenucggtffrrg htthgvrhhnpeehhfefkefgkeduveehffehieehudejfeejveejfedugfefuedtuedvhefh veeuffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvfiesrghjrdhiugdrrghu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1CA19E00C9; Fri, 10 Jul 2020 05:00:32 -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: In-Reply-To: References: <20200709195706.12741-1-eajames@linux.ibm.com> <20200709195706.12741-3-eajames@linux.ibm.com> Date: Fri, 10 Jul 2020 18:30:11 +0930 From: "Andrew Jeffery" To: "Ulf Hansson" , "Eddie James" Cc: linux-clk , "Linux Kernel Mailing List" , linux-aspeed , linux-mmc , "Joel Stanley" , "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 17:09, Ulf Hansson wrote: > On Thu, 9 Jul 2020 at 21:57, 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 > > Looks like I can pick this for fixes, as a standalone fix without patch1? No? Yes, please do. Thanks, Andrew