[media] ov9650: use msleep() for uncritical long delay
authorNicholas Mc Guire <hofrat@osadl.org>
Mon, 16 Jan 2017 13:58:33 +0000 (11:58 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 13:54:47 +0000 (11:54 -0200)
commit0df03379c541ec027c94b025f2ef259f243eeb58
treec36b4be4b089f79ca66a31fc6ed1488bf7ad704d
parent70829035ba7106c4052346247e30157362de6403
[media] ov9650: use msleep() for uncritical long delay

ulseep_range() uses hrtimers and provides no advantage over msleep()
for larger delays. Fix up the 25ms delays here to use msleep() and
reduce the load on the hrtimer subsystem.

Link: http://lkml.org/lkml/2017/1/11/377
Reviwed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov9650.c