mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-19 05:51:36 -04:00
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:
committed by
Hans Verkuil
parent
7422eca89d
commit
63bf2f7171
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user