Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366744
b: refs/heads/master
c: 20167f1
h: refs/heads/master
v: v3
  • Loading branch information
Frank Schaefer authored and Mauro Carvalho Chehab committed Mar 23, 2013
1 parent 04ac018 commit 059aa47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 598728e9200a17970184b3d7d58a042accab7ecc
refs/heads/master: 20167f17f19a5d842f74c3375468f68bf039eaa5
10 changes: 5 additions & 5 deletions trunk/drivers/media/pci/bt8xx/bttv-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -999,8 +999,6 @@ audio_mux(struct bttv *btv, int input, int mute)
bttv_tvcards[btv->c.type].gpiomask);
signal = btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC;

btv->audio = input;

/* automute */
mute_gpio = mute || (btv->opt_automute && (!signal || !btv->users)
&& !btv->has_radio_tuner);
Expand Down Expand Up @@ -1197,8 +1195,9 @@ set_input(struct bttv *btv, unsigned int input, unsigned int norm)
} else {
video_mux(btv,input);
}
audio_input(btv, (btv->tuner_type != TUNER_ABSENT && input == 0) ?
TVAUDIO_INPUT_TUNER : TVAUDIO_INPUT_EXTERN);
btv->audio = (btv->tuner_type != TUNER_ABSENT && input == 0) ?
TVAUDIO_INPUT_TUNER : TVAUDIO_INPUT_EXTERN;
audio_input(btv, btv->audio);
set_tvnorm(btv, norm);
}

Expand Down Expand Up @@ -1707,7 +1706,8 @@ static void radio_enable(struct bttv *btv)
if (!btv->has_radio_tuner) {
btv->has_radio_tuner = 1;
bttv_call_all(btv, tuner, s_radio);
audio_input(btv, TVAUDIO_INPUT_RADIO);
btv->audio = TVAUDIO_INPUT_RADIO;
audio_input(btv, btv->audio);
}
}

Expand Down

0 comments on commit 059aa47

Please sign in to comment.