From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 359F6C433E0 for ; Wed, 3 Feb 2021 17:15:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E26A664F87 for ; Wed, 3 Feb 2021 17:15:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229981AbhBCRPv convert rfc822-to-8bit (ORCPT ); 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-spi@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