Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15249
b: refs/heads/master
c: 60edb13
h: refs/heads/master
i:
  15247: 70b20ea
v: v3
  • Loading branch information
Oliver Endriss authored and Mauro Carvalho Chehab committed Dec 19, 2005
1 parent d08ab7e commit cc64c08
Show file tree
Hide file tree
Showing 3 changed files with 6 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: 3338761e6c52a8dee631dcc69129c625801ab132
refs/heads/master: 60edb13759096097b7208843dc9b7582a7d14c61
3 changes: 3 additions & 0 deletions trunk/drivers/media/dvb/ttpci/av7110.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ static void init_av7110_av(struct av7110 *av7110)
}
}

if (dev->pci->subsystem_vendor == 0x13c2 && dev->pci->subsystem_device == 0x000e)
av7110_fw_cmd(av7110, COMTYPE_AUDIODAC, SpdifSwitch, 1, 0); // SPDIF on

ret = av7110_set_volume(av7110, av7110->mixer.volume_left, av7110->mixer.volume_right);
if (ret < 0)
printk("dvb-ttpci:cannot set volume :%d\n",ret);
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/media/dvb/ttpci/av7110_hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ enum av7110_audio_command {
MainSwitch,
ADSwitch,
SendDiSEqC,
SetRegister
SetRegister,
SpdifSwitch
};

enum av7110_request_command {
Expand Down

0 comments on commit cc64c08

Please sign in to comment.