Commit 60edb137 authored by Oliver Endriss's avatar Oliver Endriss Committed by Mauro Carvalho Chehab

[PATCH] V4L/DVB (3181): Enable SPDIF output for DVB-S rev 2.3

- Enable SPDIF output for DVB-S rev 2.3. Firmware 2623 or higher required.
Signed-off-by: default avatarOliver Endriss <o.endriss@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
parent 3338761e
...@@ -176,6 +176,9 @@ static void init_av7110_av(struct av7110 *av7110) ...@@ -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); ret = av7110_set_volume(av7110, av7110->mixer.volume_left, av7110->mixer.volume_right);
if (ret < 0) if (ret < 0)
printk("dvb-ttpci:cannot set volume :%d\n",ret); printk("dvb-ttpci:cannot set volume :%d\n",ret);
......
...@@ -143,7 +143,8 @@ enum av7110_audio_command { ...@@ -143,7 +143,8 @@ enum av7110_audio_command {
MainSwitch, MainSwitch,
ADSwitch, ADSwitch,
SendDiSEqC, SendDiSEqC,
SetRegister SetRegister,
SpdifSwitch
}; };
enum av7110_request_command { enum av7110_request_command {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment