Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp655896rwb; Wed, 16 Nov 2022 06:06:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf70KMgDRLTboJ+OFkF11ZAzRffF5RYVmK48Jps3hyVXj9qg56iNgBefEC28aKlOt/BHBwkh X-Received: by 2002:a65:49c6:0:b0:46f:ed3a:ac42 with SMTP id t6-20020a6549c6000000b0046fed3aac42mr21090076pgs.617.1668607587804; Wed, 16 Nov 2022 06:06:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668607587; cv=none; d=google.com; s=arc-20160816; b=1Bn4ivV3MjTr4ye0cR3TnFrPcudGf1g/gIjL8YaLNZsbo4ClyB+Fvc68Ji812KOspn Y//vPwcBoykpaRamLOT2fLRpmY9RtqAElWVnP4K6bQugXltZ6Uah2bkbtQXzz7fR8z25 aS99ttGcs7cKA7H5lHo4Fjf0xDN32HAGFHpEFcFRYW/bqXWSm6W8sZZxsloUmgZdC9uz 1VPF6qAsD8wQVhSaVrH9Bz7PeztT5Amf484JL57vBYuJlh/+9YxYHsDSrU/B/sSKerG8 8o8fhH6XjFC8nDoQNEZ+4X48lSZOUZo8eTBJ2qxFydfaNCU3ECtOwGOf2CgJL3SsfGDW +A9Q== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=/aQRSJnoZ5InxNRiVaOND8GQmd6QdV2HiFCxOeTRFXM=; b=Y71l8egiwbEa7WJ0tnh7NwmcrUoVbbLoOk47D8Z0I98iQ3JXblcU3jpsSo9evyAEAB M2xq5zjDHiyVJSkR76moNxP6AL9DqWNLGoMJ/y8aqboFG2sMDmRqU29TykWg2TOOB30+ wjxuT6N+FHf+glbJuyhss+w+xg1Ctd/bo8gYNbeL+BuGHHumGZmSAEv6BMk/1DlHWCQG WE7di+tFI1tXEImN61aBMD4X5kTFxxIBGEu9OC8ELmz3WHa0M+d9cTnw13SlZ8hTWc8w T+2LU6KxI2amA+wuhF4DukhDr8j2Tczr2Uw+6NLE8mpfPPadFCeaLb9OPI7BbWeRjbVo 6ifw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hKDupV1v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m5-20020a17090a3f8500b00213353d1107si1794100pjc.172.2022.11.16.06.05.59; Wed, 16 Nov 2022 06:06:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hKDupV1v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233664AbiKPNnk (ORCPT + 91 others); Wed, 16 Nov 2022 08:43:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233523AbiKPNnF (ORCPT ); Wed, 16 Nov 2022 08:43:05 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC8FB4385E; Wed, 16 Nov 2022 05:43:03 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 34D92CE1B84; Wed, 16 Nov 2022 13:43:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 082FDC433C1; Wed, 16 Nov 2022 13:42:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668606180; bh=h1Q+3253C/CfZZ5+xtcyGSuDjss8dRnKrUS3zFTouNA=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=hKDupV1vZKWH5pUKuwqxZ2NOybhJOGgDdxmisnntd747AE7Z1eVWiBT/XNi4MkHiu y63/16HL8cpyHf7ykpWj+v1dfIuH2p6Qp0scWzqywGsr46m9CSy4zHLNnVadkiq/5Z rjrSfl6J4jxiB1hy0L11AFcNoY35M/x8macpLBAZNJ/pg1d49lJicgTZICkIqd3aup vV0T+j9J2XKcAqQroZZ7pOdyVh2e83MdceESRgKTsErSQJSZmgkybh38sD1nlMCUSa 4D5JvrSkrNiF/Tvf41RFMtKHmdOyzvAWiTD+Ryb1Jh/G43qeb4iLHOdzS638IlWOWw Q2TdX6TpVkwcQ== From: Mark Brown To: linux-arm-kernel@lists.infradead.org, Marc Kleine-Budde , linux-spi@vger.kernel.org, Frieder Schrempf , David Jander , Shawn Guo , linux-kernel@vger.kernel.org, Marek Vasut , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Minghao Chi , Frieder Schrempf , stable@vger.kernel.org, Baruch Siach In-Reply-To: <20221115181002.2068270-1-frieder@fris.de> References: <20221115181002.2068270-1-frieder@fris.de> Subject: Re: [PATCH v3] spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock Message-Id: <166860617673.408509.6245809939301847607.b4-ty@kernel.org> Date: Wed, 16 Nov 2022 13:42:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.11.0-dev-8af31 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 15 Nov 2022 19:10:00 +0100, Frieder Schrempf wrote: > From: Frieder Schrempf > > In case the requested bus clock is higher than the input clock, the correct > dividers (pre = 0, post = 0) are returned from mx51_ecspi_clkdiv(), but > *fres is left uninitialized and therefore contains an arbitrary value. > > This causes trouble for the recently introduced PIO polling feature as the > value in spi_imx->spi_bus_clk is used there to calculate for which > transfers to enable PIO polling. > > [...] Applied to broonie/spi.git for-next Thanks! [1/1] spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock commit: db2d2dc9a0b58c6faefb6b002fdbed4f0362d1a4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark