]> 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)
commit9e33646378fd29cd56fd1ac0996cb4a5fa8d509a
tree13a943f59d1eb167068215bbf90e2efb89822b5c
parent6de9ea8f62831bffa945ac67fc848fa3bf1d7824
[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