Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1719632rwb; Sun, 2 Oct 2022 06:44:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5agKqAfIKXQodmPXcTZ5Se52wyIsDKNZ2gVQ1FL/CBIPpaBPlvH9uDipZEYCuKsRwalSue X-Received: by 2002:a17:907:3e01:b0:730:a690:a211 with SMTP id hp1-20020a1709073e0100b00730a690a211mr12256299ejc.596.1664718254833; Sun, 02 Oct 2022 06:44:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664718254; cv=none; d=google.com; s=arc-20160816; b=i/NWHBVHjYk024lhV7zgnqKxCr8N9QDWh/tnwM8jw6qrc6W4l+zu/ZN530dYK5UBAI gB3fa5LtcCeglv15plk2AH9zWWFNMj06V2PUyGO18zz4bcLnrXga7SXNyPKeI8i5FAxx Km85n/0wqu2sIXENSyf8a7uBpjZA59HDNiMtXW9Pb7rTiAvyxzoU88D/lj7YHh3AqG5L fb8pkLN1WqddsqJKKWXnV05y5+xJu8mJyyEJB5J7KIT3hhUSjBD3hw/LuC5QmcqJ2zvz Wjtqn9KP8CzCXSHkrI0cLuBfavqzTWPD77xh2hchIybO8gPWMiMuGf6r9Vp0UM0Tj3qk CX3w== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=3djJdEU9+4dVJFbsaK5BU6OETGLrRJxpTaJgGrXQ4Es=; b=yldgfQjgc2r+/K88mBDh+Y4FtkvnJNzjzghV0JIqhSV1ANZ4yeHpV+Z6hD4MPP+sgM X054rj9rhD7ZNXugjHxWdJAUlBlMobeyUAj5LuYVLEjmwdyMUCtuOpTQTy3ZUNaEKJWE jlCD5h5unJ7NhBasAY/A/fw5mNyN7yZG2Pl+6pQphnCeNtrV8DD8o+Lk9BQ7R/k0U749 mL6rSgZoUmo0jsPPxwq0qTLw1iScUBR4+plWzgfqjpQFHZ2evdx0LOtD1Xu/SPRdDLri 3hoWrNL7Srv8ml3U2agtpHQgGaNDssmI3i3PVoJ9//r5zZPeWbp3Mcl7ygxzEEDcsAHl vsbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MfjLc+ny; 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 dm12-20020a170907948c00b0072fb108db55si5946616ejc.895.2022.10.02.06.43.49; Sun, 02 Oct 2022 06:44:14 -0700 (PDT) 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=MfjLc+ny; 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 S229805AbiJBNdF (ORCPT + 99 others); Sun, 2 Oct 2022 09:33:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbiJBNdC (ORCPT ); Sun, 2 Oct 2022 09:33:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FD5E193DD; Sun, 2 Oct 2022 06:33:02 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id B6BC560EC4; Sun, 2 Oct 2022 13:33:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2991FC433D6; Sun, 2 Oct 2022 13:32:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664717581; bh=ip2SEwPEk79/NVSLR/aKzp9lX2c3j+xDgmd4CAEEvAc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MfjLc+nyXECLHzOijUKe92NOenb1ZvhnQKXYzLVDJHC6T9zVC3J+zo3iCcjyskjqF k/NOePyASmXK/x/pMlRhTUaPrXIKEnu3xjRuq5OQ4AGot1ywkF54TO/58xlxAmT0gp qSjqDc3Upw/IwYnQLxRIhAvSvO6PKdSi70UopjKIclFpX60UA8Nl3pIF9cxh/9RBJt Zz92vVPrWrvx8YpaKc3XbU4azjzhXhre3yEto8BljAj4uAwskH8xNZgvE7IHAaRcb0 Ycym//1UGWiVY5vkciQLNcjKkyKLA18q5C8LpUH3OgI7rkdQHtaUTs7BuGCLGrBJFz 9Pk2FmEeF7mzA== Date: Sun, 2 Oct 2022 14:33:15 +0100 From: Jonathan Cameron To: Andy Shevchenko Cc: Olivier Moysan , Alexandre Torgue , Fabrice Gasnier , Lars-Peter Clausen , Maxime Coquelin , nuno.sa@analog.com, Paul Cercueil , Sebastian Andrzej Siewior , Wan Jiabing , Yannick Brosseau , linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH 1/8] iio: adc: stm32-adc: fix channel sampling time init Message-ID: <20221002143315.05b867a2@jic23-huawei> In-Reply-To: References: <20220928164114.48339-1-olivier.moysan@foss.st.com> <20220928164114.48339-2-olivier.moysan@foss.st.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Wed, 28 Sep 2022 19:51:04 +0300 Andy Shevchenko wrote: > On Wed, Sep 28, 2022 at 7:42 PM Olivier Moysan > wrote: > > > > Fix channel init for ADC generic channel bindings. > > In generic channel initialization, stm32_adc_smpr_init() is called > > to initialize channel sampling time. The "st,min-sample-time-ns" > > property is an optional property. If it is not defined, > > stm32_adc_smpr_init() is currently skipped. However stm32_adc_smpr_init() > > must always be called, to force a minimum sampling time for > > the internal channels, as the minimum sampling time is known. > > Make stm32_adc_smpr_init() call unconditional. > > What is the text width here? It's okay to use Up to ~72 (or slightly > more) as a limit and format accordingly. > > > Fixes: 796e5d0b1e9b ("iio: adc: stm32-adc: use generic binding for sample-time") > > > > Signed-off-by: Olivier Moysan > > Tag blocks mustn't have the blank lines. > For this one, please make it clear if this is breaking current systems or if this is more theoretical, so I can judge whether to rush it in (and potentially slow down the rest of this patch set!) Jonathan