]> git.baikalelectronics.ru Git - kernel.git/commit
[media] smiapp: Implement support for autosuspend
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 14 Sep 2016 15:29:23 +0000 (12:29 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 17:42:43 +0000 (15:42 -0200)
commit926de73fdac6a422dcb16eced3642af09e68922f
treea3e6e4610bf83aa8aa11341d1a4099b997a608b9
parent7fc70f4f81ffa692f69c4ef3a18f3adc6a11b20f
[media] smiapp: Implement support for autosuspend

Delay suspending the device by 1000 ms by default. This is done on
explicit power off through s_power() callback, through releasing the
file descriptor, NVM read or when the probe finishes.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/smiapp/smiapp-core.c