summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828/au0828-cards.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-04-17 17:41:28 -0400
committerSteven Toth <stoth@hauppauge.com>2008-04-17 17:41:28 -0400
commit359d1d58bc15a93bcede273e981430f6a11aba11 (patch)
tree7832a4718621add10069864e44d65324e775fa92 /linux/drivers/media/video/au0828/au0828-cards.c
parentc66482edaa7064dafbf88c1dd33e7516fa45edcd (diff)
downloadmediapointer-dvb-s2-359d1d58bc15a93bcede273e981430f6a11aba11.tar.gz
mediapointer-dvb-s2-359d1d58bc15a93bcede273e981430f6a11aba11.tar.bz2
au0828: Cleanup
From: Steven Toth <stoth@hauppauge.com> au0828: Cleanup Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/video/au0828/au0828-cards.c')
-rw-r--r--linux/drivers/media/video/au0828/au0828-cards.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-cards.c b/linux/drivers/media/video/au0828/au0828-cards.c
index 5c9c3aea9..f6c6228b6 100644
--- a/linux/drivers/media/video/au0828/au0828-cards.c
+++ b/linux/drivers/media/video/au0828/au0828-cards.c
@@ -51,7 +51,7 @@ int au0828_tuner_callback(void *priv, int command, int arg)
case AU0828_BOARD_HAUPPAUGE_HVR850:
case AU0828_BOARD_HAUPPAUGE_HVR950Q:
case AU0828_BOARD_DVICO_FUSIONHDTV7:
- if(command == 0) {
+ if (command == 0) {
/* Tuner Reset Command from xc5000 */
/* Drive the tuner into reset and out */
au0828_clear(dev, REG_001, 2);
@@ -78,8 +78,7 @@ static void hauppauge_eeprom(struct au0828_dev *dev, u8 *eeprom_data)
tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
/* Make sure we support the board model */
- switch (tv.model)
- {
+ switch (tv.model) {
case 72001: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and basic analog video */
break;
default:
@@ -92,7 +91,6 @@ static void hauppauge_eeprom(struct au0828_dev *dev, u8 *eeprom_data)
__func__, tv.model);
}
-
void au0828_card_setup(struct au0828_dev *dev)
{
static u8 eeprom[256];
@@ -116,7 +114,7 @@ void au0828_card_setup(struct au0828_dev *dev)
/*
* The bridge has between 8 and 12 gpios.
* Regs 1 and 0 deal with output enables.
- * Regs 3 and 2 * deal with direction.
+ * Regs 3 and 2 deal with direction.
*/
void au0828_gpio_setup(struct au0828_dev *dev)
{