aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/au0828/au0828-cards.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-04-17 20:41:28 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:09:43 -0400
commita9c36aad59a06df199cdbb365d0b05663f8008f1 (patch)
tree505cceb8d6842bf3ff7624de1d619deea98fc8cc /drivers/media/video/au0828/au0828-cards.c
parent0daa5de740c65de7c9554071eec84c6731370065 (diff)
V4L/DVB (7634): au0828: Cleanup
au0828: Cleanup Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/au0828/au0828-cards.c')
-rw-r--r--drivers/media/video/au0828/au0828-cards.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/media/video/au0828/au0828-cards.c b/drivers/media/video/au0828/au0828-cards.c
index 5c9c3aea99d4..f6c6228b6672 100644
--- a/drivers/media/video/au0828/au0828-cards.c
+++ b/drivers/media/video/au0828/au0828-cards.c
@@ -51,7 +51,7 @@ int au0828_tuner_callback(void *priv, int command, int arg)
51 case AU0828_BOARD_HAUPPAUGE_HVR850: 51 case AU0828_BOARD_HAUPPAUGE_HVR850:
52 case AU0828_BOARD_HAUPPAUGE_HVR950Q: 52 case AU0828_BOARD_HAUPPAUGE_HVR950Q:
53 case AU0828_BOARD_DVICO_FUSIONHDTV7: 53 case AU0828_BOARD_DVICO_FUSIONHDTV7:
54 if(command == 0) { 54 if (command == 0) {
55 /* Tuner Reset Command from xc5000 */ 55 /* Tuner Reset Command from xc5000 */
56 /* Drive the tuner into reset and out */ 56 /* Drive the tuner into reset and out */
57 au0828_clear(dev, REG_001, 2); 57 au0828_clear(dev, REG_001, 2);
@@ -78,8 +78,7 @@ static void hauppauge_eeprom(struct au0828_dev *dev, u8 *eeprom_data)
78 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data); 78 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
79 79
80 /* Make sure we support the board model */ 80 /* Make sure we support the board model */
81 switch (tv.model) 81 switch (tv.model) {
82 {
83 case 72001: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and basic analog video */ 82 case 72001: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and basic analog video */
84 break; 83 break;
85 default: 84 default:
@@ -92,7 +91,6 @@ static void hauppauge_eeprom(struct au0828_dev *dev, u8 *eeprom_data)
92 __func__, tv.model); 91 __func__, tv.model);
93} 92}
94 93
95
96void au0828_card_setup(struct au0828_dev *dev) 94void au0828_card_setup(struct au0828_dev *dev)
97{ 95{
98 static u8 eeprom[256]; 96 static u8 eeprom[256];
@@ -116,7 +114,7 @@ void au0828_card_setup(struct au0828_dev *dev)
116/* 114/*
117 * The bridge has between 8 and 12 gpios. 115 * The bridge has between 8 and 12 gpios.
118 * Regs 1 and 0 deal with output enables. 116 * Regs 1 and 0 deal with output enables.
119 * Regs 3 and 2 * deal with direction. 117 * Regs 3 and 2 deal with direction.
120 */ 118 */
121void au0828_gpio_setup(struct au0828_dev *dev) 119void au0828_gpio_setup(struct au0828_dev *dev)
122{ 120{