linux/drivers/media/usb/au0828
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
..
Kconfig [media] media: au0828 - convert to use videobuf2 2015-02-02 11:58:27 -02:00
Makefile [media] au0828: add support for IR on HVR-950Q 2014-07-30 15:51:43 -03:00
au0828-cards.c [media] au0828: Cache the decoder info at au0828 dev structure 2016-01-11 12:18:39 -02:00
au0828-cards.h
au0828-core.c [media] au0828: use standard demod pads struct 2016-03-03 06:18:17 -03:00
au0828-dvb.c [media] au0828: Refactoring for start_urb_transfer() 2016-02-01 07:39:25 -02:00
au0828-i2c.c [media] au0828: use pr_foo macros 2014-08-21 15:25:08 -05:00
au0828-input.c [media] media/au0828: Fix IR stop, poll to not access device during disconnect 2014-11-25 13:32:49 -02:00
au0828-reg.h
au0828-vbi.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
au0828-video.c [media] media: au0828 set ctrl_input in au0828_s_input() 2016-03-03 08:47:17 -03:00
au0828.h [media] media: au0828 add enable, disable source handlers 2016-02-27 09:29:20 -03:00