Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp458269pxb; Wed, 3 Feb 2021 09:19:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwK8t2i3GbUpYWSHuYGNfYGpcIrNuoQdWmvYG+Ivmjr4mxoBbdrgIZlpjmTY8i4TL3t8DvQ X-Received: by 2002:a17:906:aed1:: with SMTP id me17mr4262264ejb.190.1612372755664; Wed, 03 Feb 2021 09:19:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612372755; cv=none; d=google.com; s=arc-20160816; b=uchm32VyBJM5g/2nLww/aYjibr9ghu/EbmGwnWMU1/i99B9e4nMiVhnxqHOdjo7e15 BRbwJygEtXC9RGFolOByR5mir1h5oxybzl0VocJtNgC6NJ6Ga9kOXC/9bVEPGzZKx6WG XKMWtUpx9CWzqUVyHILbApZBCuqCOUZ6VYu7n87EcuKLEy8rDZoj9X9Vm4FZKKUXLouR UvRu/dXFN39MnThXQvqXdNhGRoWca/yh67MMT4LkLRRHGuxBgxaOSSr4w4nwrYU8Hn3F VHxXVnfEdVOWewS7e2bf6RGSGpbMN2a9kz/ZXZ87L0vWNVleQLwL/VYuSUErQyTaWGx7 JRoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=2XvITE5ONW5CYbCNACUyQnjaU5jxt0iRXsFQwd0gLA4=; b=vsA12RVu4qgSr/sya9KaMPff7yK6NLoVoRl4XA5aT17rfAMsZWQEaxaUH3+HIkidz6 HMtSLVSOXVX7FR3vBGlrQB7xNKp3fUVO4KSrQesLlBdWVz3gBwghTeqyAwTy/tQ4nO+q rJ8A2pmHL/lZ9L1Fqq8L1Oq0zuTgkN60GHpeASuZAfCUBVAH0wY3ICScy6iaaaX1GPa3 ofI/q23Lk+Os6NsOO/XDUBlhKBdhmjw6zVHxYOH60VGUMHL5u9c3RQk4nD99q1dNaiu0 MFIGEAr/KYMTErpzTX+5rL4qLVp3HWk7tvryd1QKjukzcLBVNQaAGK/mOXDp3Z+DSIR/ QXsg== ARC-Authentication-Results: i=1; mx.google.com; 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 m9si1976814ejj.472.2021.02.03.09.18.50; Wed, 03 Feb 2021 09:19:15 -0800 (PST) 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; 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 S231263AbhBCRPv convert rfc822-to-8bit (ORCPT + 99 others); Wed, 3 Feb 2021 12:15:51 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:41057 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232025AbhBCRPa (ORCPT ); Wed, 3 Feb 2021 12:15:30 -0500 Received: from xps13 (lfbn-tou-1-972-150.w86-210.abo.wanadoo.fr [86.210.203.150]) (Authenticated sender: miquel.raynal@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id E9858100008; Wed, 3 Feb 2021 17:14:41 +0000 (UTC) Date: Wed, 3 Feb 2021 18:14:40 +0100 From: Miquel Raynal To: Fabio Estevam Cc: Mark Brown , linux-spi , Tudor Ambarus , linux-kernel , zhengxunli@mxic.com.tw, juliensu@mxic.com.tw, ycllin@mxic.com.tw Subject: Re: [PATCH] spi: Fix the logic around the maximum speed Message-ID: <20210203181440.23cc8b55@xps13> In-Reply-To: References: <20210203170245.31236-1-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fabio, Fabio Estevam wrote on Wed, 3 Feb 2021 14:10:15 -0300: > Hi Miquel, > > On Wed, Feb 3, 2021 at 2:06 PM Miquel Raynal wrote: > > > > Commit 9326e4f1e5dd ("spi: Limit the spi device max speed to controller's max speed") > > rationaly introduced a new condition on which the device's maximum > > speed would be set to the controller's one: if the device advertizes a > > higher speed than the one supported by the controller. > > Already fixed: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6820e812dafb4258bc14692f686eec5bde6fba86 Oh crap :') Indeed I wasn't based on the right -rc to get the fix. Thanks for the heads up! Miquèl