Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp454309pxb; Wed, 3 Feb 2021 09:13:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyb0c9OjXarhyWUJgKRPk15N/3Chb8DWakXflor9SGrlRDRMc7Ay8MQG/MXE5WcQ9nt14Os X-Received: by 2002:a17:906:57d4:: with SMTP id u20mr4184142ejr.247.1612372433749; Wed, 03 Feb 2021 09:13:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612372433; cv=none; d=google.com; s=arc-20160816; b=xmaLIdLN5kwE1+b/BnPO6UNwN/dFq0G5YwWrzP+KtXs/khGVNjmFg0FXsGkj1Unb2m it0UnBt+2bIOlHiCuH+Z+tL2TwB/aEeN03mqfyT0vyUDvsY9lktNsdqr2P4xBCFlx6vM e0YOdtbU3dtp2+uyi1OmenTv7+76GeaOXvI8mcrQYXDbDuM0LVbN8dMU/rWbW35MNn1W hZ7BEgdpHjtvaaLIsYeZOUdXW9XW3TK3JwjABkiIQd0M+WOD6+83yeRPvtZZid/1Pr1/ R6pwL+21n2/zuDUouRnGX+22zGGmJDS9FsPjrSiewimtW61bBaHRTgrVr/1CjH2nMa/t cXXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=fyY8d5I5dl5G2a2MMTbv5ITc6nGE4sbSEreaP7ybJ6U=; b=eZc9VzMouXZbtl5naBG7dqUSqRngnmSBaVJVpJ1j2B5zRTpjq8Ap8L5p03M5fESSR1 8qSTVlck7ciUUrrgIBSItBLUm0hWOHM+6UYDRm2+D5/jc7ZwvgjLt4WdbJjWV4NEUVsi v49KmU65zfnpc7ial0ekSXV01pVLjb4CJOaDuDHVeExnsayA9RqvkY8Deb+GEOcmIj6S 6WQG/zdNW/jF8WXSp0H4ZI0lRJtz43zDyvVhVOfbRM4sLw7N4emz4FoLsGNuO1krgAjP Y7mU1OZz2HvjbLSigXk7Z8WK8tbsNNNU68xWBp1ZS9QJ0g3avWoYKXPTrSivT0CLvTq8 E1Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MXc+sUiC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i25si2101086edb.99.2021.02.03.09.13.28; Wed, 03 Feb 2021 09:13:53 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MXc+sUiC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232084AbhBCRLY (ORCPT + 99 others); Wed, 3 Feb 2021 12:11:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231327AbhBCRLH (ORCPT ); Wed, 3 Feb 2021 12:11:07 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5CC6C0613D6; Wed, 3 Feb 2021 09:10:27 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id m22so223271lfg.5; Wed, 03 Feb 2021 09:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fyY8d5I5dl5G2a2MMTbv5ITc6nGE4sbSEreaP7ybJ6U=; b=MXc+sUiC1EIsn6bE6WhyVAvNSzzUqwdZo0G5POv3fdxieDhcXEXYh1NlbthauCO+6Q 5DHsP7YlErzcvFkDDxLRRoB9+Rx+Dqe4QqQSFrIogS+QfvEUnOkxkxqOPvBZHBP8azuh L4wMme1BqWu3OZXOBc8xSVx2HgJjyGhyJyi9uFrXCXXJMjeHmmwh3ZckyQI8f/BNisb2 p8nw0LoBfUnD0eNOJlYAh57kvEXbMidXsjWAQ2jkj+/gzNd0ZU4L5tLoKSELFXej9TaP ZZ1+A+/WewE2jJ2Z4CHz7h6VZOSOSEx1XulSIpx2n325oVkIGyO9vXZ30riNdnVY7KTq UzWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fyY8d5I5dl5G2a2MMTbv5ITc6nGE4sbSEreaP7ybJ6U=; b=JWYY2kAm0ptJfvkkd3QezS6+0Jdv2ZT/Je5SJZu+f+o6WpFLOJ/gjRqJKPQ7WhxNHR pJ0cBt+VYe63wKWz1qWxElcTAtrlpgL7KQJ/jO9YO+tJ+oV39NzDzjXDvRLwpLJnSjCG TfAs4KPD7jDmyXNYkL80PZt8lFppl1payPnb09b6EAhscBebCRQGRt/8B8+kF42Eu+yq KCItHYohEFk+FhVLZAD84Co6rnpEFILhrDO34tciMgrJku4KowPo20sqvOMLhCQXw5+Y oxHf9RK310Uz/DJ/CdOFlt0RvgriYJLfd68zDhEp0ksvLuzWAS9BAGAN3XuOnP8EMveR nYFA== X-Gm-Message-State: AOAM530r+x45KKZWxNxEWBBXw2ZdPNw7J8EQAsnQP5NuJPGz/9pWb3QG 9Z3KylEEwsFBLgJSRPISKNbu6tiaB6oPT4e8PnQ= X-Received: by 2002:a05:6512:3251:: with SMTP id c17mr2132862lfr.443.1612372226193; Wed, 03 Feb 2021 09:10:26 -0800 (PST) MIME-Version: 1.0 References: <20210203170245.31236-1-miquel.raynal@bootlin.com> In-Reply-To: <20210203170245.31236-1-miquel.raynal@bootlin.com> From: Fabio Estevam Date: Wed, 3 Feb 2021 14:10:15 -0300 Message-ID: Subject: Re: [PATCH] spi: Fix the logic around the maximum speed To: Miquel Raynal Cc: Mark Brown , linux-spi , Tudor Ambarus , linux-kernel , zhengxunli@mxic.com.tw, juliensu@mxic.com.tw, ycllin@mxic.com.tw Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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