linux-stable/drivers/media/usb/em28xx
Mauro Carvalho Chehab 258c430456 media: em28xx: fix handler for vidioc_s_input()
The a->index is not the name of the internal amux entry,
but, instead a value from zero to the maximum number
of audio inputs.

As the actual available inputs depend on each board, build
it dynamically.

This is broken for a really long time. On a quick check,
since at least commit 195a4ef627 ("V4L/DVB (6585): Convert
em28xx to video_ioctl2") this was not implemented right.

Fixes: 195a4ef627 ("V4L/DVB (6585): Convert em28xx to video_ioctl2")

Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-17 13:07:28 -04:00
..
em28xx-audio.c media: em28xx-audio: use GFP_KERNEL for memory allocation during init 2018-09-12 08:00:36 -04:00
em28xx-camera.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
em28xx-cards.c media: em28xx: fix handler for vidioc_s_input() 2018-09-17 13:07:28 -04:00
em28xx-core.c media: usb: em28xx: Replace GFP_ATOMIC with GFP_KERNEL in em28xx_init_usb_xfer() 2018-08-02 19:15:29 -04:00
em28xx-dvb.c media: em28xx: Fix dual transport stream operation 2018-07-27 06:39:57 -04:00
em28xx-i2c.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
em28xx-input.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
em28xx-reg.h media: em28xx-reg.h: Fix coding style issues 2018-03-06 05:54:52 -05:00
em28xx-v4l.h media: update/fix my e-mail on some places 2018-05-10 07:27:15 -04:00
em28xx-vbi.c media: em28xx: Add SPDX license tags where needed 2018-03-06 05:54:52 -05:00
em28xx-video.c media: em28xx: fix handler for vidioc_s_input() 2018-09-17 13:07:28 -04:00
em28xx.h media: em28xx: fix handler for vidioc_s_input() 2018-09-17 13:07:28 -04:00
Kconfig media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00