public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: raskar.shree97@gmail.com
Cc: "Jonathan Cameron" <jic23@kernel.org>,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	skhan@linuxfoundation.org, david.hunter.linux@gmail.com,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v7 2/6] iio: proximity: rfd77402: Align polling timeout with datasheet
Date: Tue, 27 Jan 2026 16:56:26 +0200	[thread overview]
Message-ID: <aXjSGlttD7qs66Uy@smile.fi.intel.com> (raw)
In-Reply-To: <20260127-b4-rfd77402_v5-v7-2-3e7f2d452da2@gmail.com>

On Tue, Jan 27, 2026 at 01:02:16AM +0530, Shrikant Raskar via B4 Relay wrote:

> Update the polling delay to use a 100 ms timeout, as specified
> in the RFD77402 datasheet.

Please, refer at least in the code what is the section and/or table specifies
that...

...

>  		if (ret & RFD77402_ICSR_RESULT)
>  			break;

...here.

Note, it's a requirement to comment all long sleeps (~1ms is considered long),
and some other short sleeps depending on the context.

> -		msleep(20);
> +		msleep(10);
>  	}

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2026-01-27 14:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-26 19:32 [PATCH v7 0/6] iio: proximity: Add interrupt support for RFD77402 Shrikant Raskar via B4 Relay
2026-01-26 19:32 ` [PATCH v7 1/6] iio: proximity: rfd77402: Reorder header includes Shrikant Raskar via B4 Relay
2026-01-26 19:32 ` [PATCH v7 2/6] iio: proximity: rfd77402: Align polling timeout with datasheet Shrikant Raskar via B4 Relay
2026-01-27 14:56   ` Andy Shevchenko [this message]
2026-01-26 19:32 ` [PATCH v7 3/6] iio: proximity: rfd77402: Use kernel helper for result polling Shrikant Raskar via B4 Relay
2026-01-27 14:59   ` Andy Shevchenko
2026-01-26 19:32 ` [PATCH v7 4/6] iio: proximity: rfd77402: Use devm-managed mutex initialization Shrikant Raskar via B4 Relay
2026-01-26 19:32 ` [PATCH v7 5/6] iio: proximity: rfd77402: Document device private data structure Shrikant Raskar via B4 Relay
2026-01-26 19:32 ` [PATCH v7 6/6] iio: proximity: rfd77402: Add interrupt handling support Shrikant Raskar via B4 Relay
2026-01-27 15:03   ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aXjSGlttD7qs66Uy@smile.fi.intel.com \
    --to=andriy.shevchenko@intel.com \
    --cc=andy@kernel.org \
    --cc=david.hunter.linux@gmail.com \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=raskar.shree97@gmail.com \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox