linux/drivers/media
Shuah Khan 174ced212c [media] media: au0828 set ctrl_input in au0828_s_input()
dev->ctrl_input is set in vidioc_s_input() and doesn't get set in
au0828_s_input(). As a result, dev->ctrl_input is left uninitialized
until user space calls s_input.

It works correctly because the default input value is 0 and which is
what dev->ctrl_input gets initialized via kzalloc().

Change to set dev->ctrl_input in au0828_s_input(). Also optimize
vidioc_s_input() to return if the new input value is same as the
current.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-03-03 08:47:17 -03:00
..
common [media] siano: firmware buffer is too small 2016-02-16 09:29:13 -02:00
dvb-core [media] Add support for Avermedia AverTV Volar HD 2 (TD110) 2016-03-03 08:33:05 -03:00
dvb-frontends [media] au0828: use standard demod pads struct 2016-03-03 06:18:17 -03:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c [media] adv7604: fix SPA register location for ADV7612 2016-03-03 07:32:20 -03:00
mmc
pci [media] pt3: fix device identification 2016-03-01 12:01:45 -03:00
platform [media] soc_camera/mx3_camera.c: move to staging in preparation, for removal 2016-03-03 07:54:42 -03:00
radio [media] tea575x: convert to library 2016-02-10 09:34:28 -02:00
rc [media] Fix AverMedia RM-KS remote keymap 2016-03-03 08:33:41 -03:00
tuners [media] xc4000: shut up a bogus smatch message 2016-02-23 07:14:02 -03:00
usb [media] media: au0828 set ctrl_input in au0828_s_input() 2016-03-03 08:47:17 -03:00
v4l2-core [media] V4L: fix a confusing function name 2016-03-03 07:30:43 -03:00
Kconfig
Makefile
media-device.c [media] media: Media Controller register/unregister entity_notify API 2016-02-27 08:33:25 -03:00
media-devnode.c [media] media: Fix media_open() to clear filp->private_data in error leg 2016-02-01 13:21:33 -02:00
media-entity.c [media] media: Media Controller non-locking __media_entity_pipeline_start/stop() 2016-02-27 08:33:28 -03:00