diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-14 13:13:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-17 13:07:28 -0400 |
commit | 258c430456ba5f0005043762e14fc3be35983aaf (patch) | |
tree | a45b0a691d7f29547cf26f8675db356f86499194 /drivers/media/usb/dvb-usb/af9005-remote.c | |
parent | 5c4c4505b716cb782ad7263091edc466c4d1fbd4 (diff) |
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 195a4ef627e1 ("V4L/DVB (6585): Convert
em28xx to video_ioctl2") this was not implemented right.
Fixes: 195a4ef627e1 ("V4L/DVB (6585): Convert em28xx to video_ioctl2")
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/dvb-usb/af9005-remote.c')
0 files changed, 0 insertions, 0 deletions