[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)
commit93bef23024983d707248c25a849f5860119cd5e4
treea3e6e4610bf83aa8aa11341d1a4099b997a608b9
parentcbba45d43631d0414266d7e79827da3f491f1b1e
[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