]> git.baikalelectronics.ru Git - kernel.git/commit
[media] m5mols: set usleep_range delta greater 0
authorNicholas Mc Guire <hofrat@osadl.org>
Tue, 13 Dec 2016 05:34:53 +0000 (03:34 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 3 Feb 2017 11:26:52 +0000 (09:26 -0200)
commit457f45dac352aebd4e39da63a8b886243ef5a2e9
tree13a943f59d1eb167068215bbf90e2efb89822b5c
parentf3b0ba8b61d7d1a34e0843230f0829c581431804
[media] m5mols: set usleep_range delta greater 0

This delay is in non-atomic context and it does not seem to be
time-critical so relax it to allow the timer subsystem to optimize
hrtimers.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/m5mols/m5mols_core.c