提交 7a2fa90f 编写于 作者: J Johannes Stezenbach 提交者: Linus Torvalds

[PATCH] dvb: ttpci: cleanup indentation + whitespace

Fix indentation and add some whitepsace between operators.
Signed-off-by: NJohannes Stezenbach <js@linuxtv.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 12ba0504
...@@ -122,11 +122,11 @@ static void init_av7110_av(struct av7110 *av7110) ...@@ -122,11 +122,11 @@ static void init_av7110_av(struct av7110 *av7110)
/* set internal volume control to maximum */ /* set internal volume control to maximum */
av7110->adac_type = DVB_ADAC_TI; av7110->adac_type = DVB_ADAC_TI;
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 internal volume to maximum:%d\n",ret); printk("dvb-ttpci:cannot set internal volume to maximum:%d\n",ret);
ret = av7710_set_video_mode(av7110, vidmode); ret = av7710_set_video_mode(av7110, vidmode);
if (ret<0) if (ret < 0)
printk("dvb-ttpci:cannot set video mode:%d\n",ret); printk("dvb-ttpci:cannot set video mode:%d\n",ret);
/* handle different card types */ /* handle different card types */
...@@ -162,10 +162,10 @@ static void init_av7110_av(struct av7110 *av7110) ...@@ -162,10 +162,10 @@ static void init_av7110_av(struct av7110 *av7110)
if (av7110->adac_type == DVB_ADAC_NONE || av7110->adac_type == DVB_ADAC_MSP) { if (av7110->adac_type == DVB_ADAC_NONE || av7110->adac_type == DVB_ADAC_MSP) {
// switch DVB SCART on // switch DVB SCART on
ret = av7110_fw_cmd(av7110, COMTYPE_AUDIODAC, MainSwitch, 1, 0); ret = av7110_fw_cmd(av7110, COMTYPE_AUDIODAC, MainSwitch, 1, 0);
if (ret<0) if (ret < 0)
printk("dvb-ttpci:cannot switch on SCART(Main):%d\n",ret); printk("dvb-ttpci:cannot switch on SCART(Main):%d\n",ret);
ret = av7110_fw_cmd(av7110, COMTYPE_AUDIODAC, ADSwitch, 1, 1); ret = av7110_fw_cmd(av7110, COMTYPE_AUDIODAC, ADSwitch, 1, 1);
if (ret<0) if (ret < 0)
printk("dvb-ttpci:cannot switch on SCART(AD):%d\n",ret); printk("dvb-ttpci:cannot switch on SCART(AD):%d\n",ret);
if (rgb_on && if (rgb_on &&
(av7110->dev->pci->subsystem_vendor == 0x110a) && (av7110->dev->pci->subsystem_device == 0x0000)) { (av7110->dev->pci->subsystem_vendor == 0x110a) && (av7110->dev->pci->subsystem_device == 0x0000)) {
...@@ -175,10 +175,10 @@ static void init_av7110_av(struct av7110 *av7110) ...@@ -175,10 +175,10 @@ static void init_av7110_av(struct av7110 *av7110)
} }
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);
ret = av7110_setup_irc_config(av7110, 0); ret = av7110_setup_irc_config(av7110, 0);
if (ret<0) if (ret < 0)
printk("dvb-ttpci:cannot setup irc config :%d\n",ret); printk("dvb-ttpci:cannot setup irc config :%d\n",ret);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册