]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[media] au0828: fix audio input handling
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 15 Feb 2013 11:41:24 +0000 (08:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 18:10:20 +0000 (15:10 -0300)
commita2cf96f929d54cb2c8041358053656bf76be2c34
tree2a161f21e0da42967f70cbdbb723bbfc60078bcd
parent38823b29e70ab6d6b7092ce2fcafe299d0c5dd74
[media] au0828: fix audio input handling

- V4L2_CAP_AUDIO was set, but enumaudio was not implemented.
- audioset was never filled by enum_input
- ctrl_ainput was never updated when switching the video input
- g_audio was broken due to faulty logic: g_audio should set the
  index, it doesn't receive it from the user.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/au0828/au0828-video.c