]> git.baikalelectronics.ru Git - kernel.git/commit
[media] bttv: apply mute settings on open
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Thu, 21 Mar 2013 16:51:20 +0000 (13:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 23 Mar 2013 14:33:01 +0000 (11:33 -0300)
commit0d9785cff893aa3ce762682e3d5e032526134122
treeeb3aab2887494876b0591f9963af63570a6c47b0
parent5fe208cdc8bf074be5b0079a4aff797b4b838d9e
[media] bttv: apply mute settings on open

Previously, this has been done implicitly for video device nodes by calling
set_input() (which calls audio_input() and also modified the mute
setting).
Since input and mute setting are now untangled (as much as possible), we need to
apply the mute setting with an explicit call to audio_mute().
Also apply the mute setting when the radio device node gets opened.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/bt8xx/bttv-driver.c