]> asedeno.scripts.mit.edu Git - linux.git/commit
[media] s5k6aa: set usleep_range() range greater than 0
authorNicholas Mc Guire <hofrat@osadl.org>
Tue, 13 Dec 2016 01:58:02 +0000 (23:58 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 13 Jun 2017 17:20:50 +0000 (14:20 -0300)
commit3966f5ce020cf24b814dbddf45d092aa2d133c1e
tree3bd4ca389ce342efa222922a58d9b09eff27d4a6
parent57612890b7e7c511069b104deeca3c71db312a28
[media] s5k6aa: set usleep_range() range greater than 0

As this is not in atomic context and it does not seem like a critical
timing setting a range of 1ms allows the timer subsystem to optimize
the hrtimer here.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/s5k6aa.c