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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 790EAC61DA4 for ; Sat, 18 Feb 2023 13:46:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229798AbjBRNqV (ORCPT ); Sat, 18 Feb 2023 08:46:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbjBRNqV (ORCPT ); Sat, 18 Feb 2023 08:46:21 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73BC313D5D for ; Sat, 18 Feb 2023 05:46:20 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 01C9760B85 for ; Sat, 18 Feb 2023 13:46:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43FA2C433EF; Sat, 18 Feb 2023 13:46:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676727979; bh=1bkyQ6yFGjccaoPPpLm2wR7jld/kIsiz4a9H7FkviPo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jf8EII5kMO0w+eEOgqSGsryEEbeOinH/ELtogF7prfxAjZnmPKKaJZcpUmDUibr5G BL8IfkaI2dwxmU/gz/tPnqZQ6lzXVdkNdpOrAFBjUqQijtGOP9/nQ2MHp6y5oN8gpL gHzqawglKzXOzwkHum2z+S5jxBvV62+DFHq5nDDykrWrxnPFCSY7enfkK39AU3ZdRe TqJnj0HDsu70zbxPmkXEa+IdIbu5/6wL7uPCHTh0Phqvrfw1sls6ru4+5NUxg/UeMw Ark6GZrEAmka2vtxzYUFz+OJqqVedg8UdJ2Z/+SkVY8Py08TfosTruEDNZhow+kYgB nDK/SYerzpDUQ== Date: Sat, 18 Feb 2023 14:00:38 +0000 From: Jonathan Cameron To: Nuno =?UTF-8?B?U8Oh?= Cc: , Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= , Lars-Peter Clausen , "Michael Hennerich" Subject: Re: [PATCH] iio: imu: adis16475: correct copy paste mistake in comment block Message-ID: <20230218140038.7293feb2@jic23-huawei> In-Reply-To: <20230213153208.1027602-1-nuno.sa@analog.com> References: <20230213153208.1027602-1-nuno.sa@analog.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.36; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Mon, 13 Feb 2023 16:32:08 +0100 Nuno S=C3=A1 wrote: > The minimal advised lower rate for adis16475 compatible devices is > 1900HZ and not 4000HZ. Set that right in the comments so that it does > not generate any confusion. >=20 > Signed-off-by: Nuno S=C3=A1 Applied, Thanks, Jonathan > --- > drivers/iio/imu/adis16475.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/drivers/iio/imu/adis16475.c b/drivers/iio/imu/adis16475.c > index aec55f7e1f26..3abffb01ba31 100644 > --- a/drivers/iio/imu/adis16475.c > +++ b/drivers/iio/imu/adis16475.c > @@ -326,11 +326,11 @@ static int adis16475_set_freq(struct adis16475 *st,= const u32 freq) > =20 > /* > * This is not an hard requirement but it's not advised to run the IMU > - * with a sample rate lower than 4000Hz due to possible undersampling > + * with a sample rate lower than 1900Hz due to possible undersampling > * issues. However, there are users that might really want to take the= risk. > * Hence, we provide a module parameter for them. If set, we allow sam= ple > - * rates lower than 4KHz. By default, we won't allow this and we just = roundup > - * the rate to the next multiple of the input clock bigger than 4KHz. = This > + * rates lower than 1.9KHz. By default, we won't allow this and we jus= t roundup > + * the rate to the next multiple of the input clock bigger than 1.9KHz= . This > * is done like this as in some cases (when DEC_RATE is 0) might give > * us the closest value to the one desired by the user... > */