linux/drivers/media
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
..
common media: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
dvb-core Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-08-06 09:38:14 -07:00
dvb-frontends si2135: Declare the structs even if frontend is not enabled 2014-07-28 10:37:08 -03:00
firewire
i2c [media] smiapp: Fix power count handling 2014-09-03 08:50:25 -03:00
mmc
parport [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
pci media: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
platform [media] coda: fix build error by making reset control optional 2014-08-01 15:27:14 -03:00
radio [media] radio-miropcm20: fix sparse NULL pointer warning 2014-07-30 19:50:09 -03:00
rc [media] ir-rc5-decoder: print where decoding fails 2014-07-30 15:49:35 -03:00
tuners [media] xc5000: always write at dmesg when it fails to upload firmware 2014-07-30 15:56:20 -03:00
usb media: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
v4l2-core Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2014-08-05 16:36:30 -07:00
Kconfig [media] Kconfig: sub-driver auto-select SPI bus 2014-07-21 20:34:12 -03:00
Makefile
media-device.c [media] media-device: Remove duplicated memset() in media_enum_entities() 2014-07-22 01:02:52 -03:00
media-devnode.c [media] media: Use a better owner for the media device 2014-05-13 13:39:00 -03:00
media-entity.c