linux/drivers/media/i2c/smiapp
Sakari Ailus 58e43d90b9 [media] smiapp: Fix power count handling
The sensor may be powered by either one of its sub-devices being accessed
from the user space (an open file handle) or by its s_power() op being
called with non-zero on argument. The driver counts the users and if any
reason to keep the device powered exists it will be powered.

However, a faulty condition was used in recognising the need to power off
the sensor, leading it to be powered off every time any of its uses went
away.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-09-03 08:50:25 -03:00
..
Kconfig
Makefile
smiapp-core.c [media] smiapp: Fix power count handling 2014-09-03 08:50:25 -03:00
smiapp-limits.c [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
smiapp-limits.h [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
smiapp-quirk.c [media] smiapp: Make PLL (quirk) flags a function 2014-04-23 11:30:32 -03:00
smiapp-quirk.h [media] smiapp: Add register diversion quirk 2014-04-23 11:31:33 -03:00
smiapp-reg-defs.h [media] smiapp: Rename SMIA_REG to SMIAPP_REG for consistency 2014-04-23 11:10:03 -03:00
smiapp-reg.h [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
smiapp-regs.c [media] smiapp: Define macros for obtaining properties of register definitions 2014-04-23 11:32:22 -03:00
smiapp-regs.h [media] smiapp: Define macros for obtaining properties of register definitions 2014-04-23 11:32:22 -03:00
smiapp.h [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00