Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp482892pxf; Thu, 8 Apr 2021 07:07:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRmhCFy9ovcf4H5nG/k2dM1bitfOA7uUxCx3EVFD46WLLpJ3R+OohSkfNKCNFjBWNa9/on X-Received: by 2002:aa7:d3d5:: with SMTP id o21mr8508750edr.183.1617890866474; Thu, 08 Apr 2021 07:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617890866; cv=none; d=google.com; s=arc-20160816; b=ZAdSeMNAqqRlbRYCFa70wd5T7T/Zo51Hun5XBOmftg6UoEW2wcrOwQsikZnFjqhJ5o 1qwPwnSWvncUPaZsV3uEVNXw73+hPsBfkf00vVaTT+WsdT0F1SRoLBehFW2SQz4Ua5Sm TwpEoUDLFuEtZmlshG8xwvclshxxaRHTREu2XeVi54OGEj0QHbvqtTd6UDzvFRRwlwl8 aAkrrQuFtenHG6XioN/8T3hwZz+mPoRjPsNy1CYL7uDlPEiaiVyvSephV+GYJDl7eZgj GnW1GXITqZWN3mqBd6z+yg8dYIurhEjxpRzkeeis6ivWjUAG0DEBxJRtc/GL/CL74zV1 rSgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=c/qgNDwkcocIuy/eJhJGCaujFtddkd4baMyo7n1aums=; b=cBkA8xSqnONIUJP3Lu4cSBP4g9w9WcXcHkEinGMAGmXS4vYwsG/lV14Cx5dixIBJvp y4iHtWoqb3YzKvMWkHastuqtriuuJhhaPTLW64fGyaQkao2hyTLEow/5WHNvn+RXRo1s Keby9DYUnclajycOqLR6RMv0I6uwErRoKv8DP/JbbtfDPvLDMdJBA2RRTCShfUFB7OHf J5NVrgwIw9Fif40FOKILthRpYzcMva8BQXk8/Bp5MmQmLGCB22UFRpoi+v18bFqVLDDH Xy5RvSlL62478kft9JUL4m/aLz0NBYp36jOWhhcDeGsabmBaqORSlrdEB6MFKmx2V0QR strw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ns7+gXE2; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si11637184eds.132.2021.04.08.07.07.22; Thu, 08 Apr 2021 07:07:46 -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=@kernel.org header.s=k20201202 header.b=Ns7+gXE2; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231886AbhDHOFx (ORCPT + 99 others); Thu, 8 Apr 2021 10:05:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:52714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231901AbhDHOFw (ORCPT ); Thu, 8 Apr 2021 10:05:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D048461130; Thu, 8 Apr 2021 14:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617890741; bh=c/qgNDwkcocIuy/eJhJGCaujFtddkd4baMyo7n1aums=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ns7+gXE2w1OZn9jYpdIJWjit9ZZNsYeSuJW0uCfDubH9WxaFHMVJu/sURWi8vPrIG 4TmLX//CxkxFWmTGiaWRe+PTju1ZXj9KhlpJVqWCB9UaivlPp4ogyv9yxzz8shn5kv uPSEu6a5H0bmsZYK/MDxQS5qQvVtqifBt7W3JuRcpRbmF7ASA2cNA+zcwryyTThAZ+ nnxOtJUw/XW6Fy0WR55AURmpMMhkRNSEatsiwIwul4BexTwPkgzswndY6HWic5sGoM 6TuIfWoUs8RSsmFf6/7goM9nJ/HxPYdfoDBKjQcljR5sR4Tbos9NzVsNWTilzPEBJe T1R/fLC3ktdPQ== Date: Thu, 8 Apr 2021 15:05:23 +0100 From: Mark Brown To: Clark Wang Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, kernel@pengutronix.de, linux-imx@nxp.com, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] spi: imx: add a check for speed_hz before calculating the clock Message-ID: <20210408140523.GH4516@sirena.org.uk> References: <20210408103347.244313-1-xiaoning.wang@nxp.com> <20210408103347.244313-2-xiaoning.wang@nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dMyqICaxQaaUjrCL" Content-Disposition: inline In-Reply-To: <20210408103347.244313-2-xiaoning.wang@nxp.com> X-Cookie: Editing is a rewording activity. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --dMyqICaxQaaUjrCL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 08, 2021 at 06:33:47PM +0800, Clark Wang wrote: > When some drivers use spi to send data, spi_transfer->speed_hz is > not assigned. If spidev->max_speed_hz is not assigned as well, it > will cause an error in configuring the clock. Please don't send new patches in reply to other threads, this makes it harder to follow what current versions of things are and causes problems for tools. --dMyqICaxQaaUjrCL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmBvDaIACgkQJNaLcl1U h9DpFwgAhu6kubADli5uS9eG0/RYPI4U2CNpsUZ+kwYdfdoNvEecSr9Qi16J+BG3 /UB7gUUx0vszDmJoECWgeuJjRw05iAJJgyZmmo6V3V+0AwcdhDTaNxAZOJy3eYUF Lt/R/Prz3KFS8PReOGJ6tlZWjZ3FdSF7nzyQBcqkHqGAyLEBgE6j/r/2oeY6KSps L7BXJrOHrzZL6K8ahmtD5cm69uIg3M74f21Un+ndGVoZf8m0XpZR16ivf0G1zfLg Ci+301tdOHk/UjbBQkhlVO80WQyr9U+e8daNV2WwxPLUdR4tY9ZvQxqWKM2/uNQa zTOJu2uF2otRJ8SDqrXs6MIlIDhJMA== =58bV -----END PGP SIGNATURE----- --dMyqICaxQaaUjrCL--