staging: media: av7110: use usleep_range in sp8870.c

Use usleep_range instead of udelay to fix checkpatch warning.

Signed-off-by: Preyas Sharma <preyas17@zohomail.in>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
[hverkuil: added commit message]
This commit is contained in:
Preyas Sharma
2025-12-20 09:55:21 +00:00
committed by Hans Verkuil
parent 7422eca89d
commit 63bf2f7171

View File

@@ -496,7 +496,7 @@ static int sp8870_set_frontend(struct dvb_frontend *fe)
dprintk("delay = %i usec\n", check_count * 10);
break;
}
udelay(10);
usleep_range(10, 20);
}
if (valid)
break;