Skip to content

Commit

Permalink
[PATCH] V4L/DVB (3181): Enable SPDIF output for DVB-S rev 2.3
Browse files Browse the repository at this point in the history
- Enable SPDIF output for DVB-S rev 2.3. Firmware 2623 or higher required.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
  • Loading branch information
Oliver Endriss authored and Mauro Carvalho Chehab committed Dec 19, 2005
1 parent 3338761 commit 60edb13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions 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 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 60edb13

Please sign in to comment.