|
|
|
Re: [PATCH] em28xx: enable Compro VideoMate ForYou sound | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Tue, 03 Mar 2009 16:23:37 +0300
Vitaly Wool <vital@xxxxxxxxxxxxxxxxx> wrote:
>
> --- linux-next.orig/drivers/media/video/em28xx/em28xx-core.c 2009-03-02 18:08:10.000000000 +0300
> +++ linux-next/drivers/media/video/em28xx/em28xx-core.c 2009-03-03 10:33:35.000000000 +0300
> @@ -353,6 +353,7 @@
> {
> int ret;
> u8 input;
> + int do_mute = 0;
>
> if (dev->board.is_em2800) {
> if (dev->ctl_ainput == EM28XX_AMUX_VIDEO)
> @@ -378,6 +379,14 @@
> }
> }
>
> + if (dev->mute || input != EM28XX_AUDIO_SRC_TUNER)
> + do_mute = 1;
Do you really need the above line? This will reduce a lot the value of a mute
callback, since it will not work for EM28XX_AUDIO_SRC_TUNER.
Cheers,
Mauro
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
[Linux Media] [Older V4L] [Linux DVB] [Video Disk Recorder] [Linux Kernel] [Asterisk] [Photo] [DCCP] [Netdev] [Xorg] [Util Linux NG] [Xfree86] [Free Photo Albums] [Fedora Users] [Fedora Women] [ALSA Users] [ALSA Devel] [SSH] [DVB Maintainers] [Linux USB] [Yosemite Information]
![]() |
![]() |