OSDN Git Service

media: smiapp: core: add small range to usleep_range
authorNicholas Mc Guire <hofrat@opentech.at>
Wed, 8 May 2019 15:11:53 +0000 (11:11 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 23 May 2019 14:18:18 +0000 (10:18 -0400)
commita1038ee8ca9f857d4d2e809a02bfe69ecb085b25
tree971a56f7d79f80b24c6276a42bbe931faed54989
parentc3cc51032689c6f472ee4da5e6d61379b246a851
media: smiapp: core: add small range to usleep_range

No need for a high-accuracy delay here as long as it is more than 2
milliseconds this should be ok - as it is non-atomic context it will
be not be precise 2 milliseconds so giving the hrtimer subsystem 50
microseconds to merge timers and reduce interrupts.

Signed-off-by: Nicholas Mc Guire <hofrat@opentech.at>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/smiapp/smiapp-quirk.c