Re: [PATCH 1/2] staging: media: av7110: replace msleep with usleep_range

From: Dan Carpenter

Date: Sat Jun 20 2026 - 05:41:12 EST


On Fri, Jun 19, 2026 at 07:15:23PM -0300, André Moreira wrote:
> The msleep() function is not precise for short delays under 20ms.
> Replace it with usleep_range() to provide more accurate timing
> and avoid unnecessary scheduler overhead.
>
> Signed-off-by: André Moreira <andrem.33333@xxxxxxxxx>
> ---

We don't accept this kind of patch without testing. But also this
is not the current way to do it. Do a search for "usleep_range staging"
on lore.kernel.org to find the current way.

regards,
dan carpenter