Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13322
b: refs/heads/master
c: 1eaad5b
h: refs/heads/master
v: v3
  • Loading branch information
Nickolay V. Shmyrev authored and Linus Torvalds committed Nov 9, 2005
1 parent 54a1afa commit 18f0944
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dc2286cfce214c0de00571f3219a50488c58dd6b
refs/heads/master: 1eaad5b113811db7fdb6d02e1c8d9ff7c8ba6919
10 changes: 9 additions & 1 deletion trunk/drivers/media/video/saa7134/saa7134-tvaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ static void tvaudio_setcarrier(struct saa7134_dev *dev,
saa_writel(SAA7134_CARRIER2_FREQ0 >> 2, tvaudio_carr2reg(secondary));
}

#define SAA7134_MUTE_MASK 0xbb
#define SAA7134_MUTE_ANALOG 0x04
#define SAA7134_MUTE_I2S 0x40

static void mute_input_7134(struct saa7134_dev *dev)
{
unsigned int mute;
Expand Down Expand Up @@ -241,7 +245,11 @@ static void mute_input_7134(struct saa7134_dev *dev)

if (PCI_DEVICE_ID_PHILIPS_SAA7134 == dev->pci->device)
/* 7134 mute */
saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ? 0xbf : 0xbb);
saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ?
SAA7134_MUTE_MASK |
SAA7134_MUTE_ANALOG |
SAA7134_MUTE_I2S :
SAA7134_MUTE_MASK);

/* switch internal audio mux */
switch (in->amux) {
Expand Down

0 comments on commit 18f0944

Please sign in to comment.