diff options
Diffstat (limited to 'drivers/media/video/saa7114.c')
-rw-r--r-- | drivers/media/video/saa7114.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/saa7114.c b/drivers/media/video/saa7114.c index 4a1f841d0c77..90398ab8252e 100644 --- a/drivers/media/video/saa7114.c +++ b/drivers/media/video/saa7114.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * saa7114 - Philips SAA7114H video decoder driver version 0.0.1 | 2 | * saa7114 - Philips SAA7114H video decoder driver version 0.0.1 |
3 | * | 3 | * |
4 | * Copyright (C) 2002 Maxim Yevtyushkin <max@linuxmedialabs.com> | 4 | * Copyright (C) 2002 Maxim Yevtyushkin <max@linuxmedialabs.com> |
@@ -300,7 +300,7 @@ static const unsigned char init[] = { | |||
300 | 0x55, 0xff, | 300 | 0x55, 0xff, |
301 | 0x56, 0xff, | 301 | 0x56, 0xff, |
302 | 0x57, 0xff, | 302 | 0x57, 0xff, |
303 | 0x58, 0x40, // framing code | 303 | 0x58, 0x40, // framing code |
304 | 0x59, 0x47, // horizontal offset | 304 | 0x59, 0x47, // horizontal offset |
305 | 0x5a, 0x06, // vertical offset | 305 | 0x5a, 0x06, // vertical offset |
306 | 0x5b, 0x83, // field offset | 306 | 0x5b, 0x83, // field offset |
@@ -345,7 +345,7 @@ static const unsigned char init[] = { | |||
345 | 0x82, 0x00, | 345 | 0x82, 0x00, |
346 | 0x83, 0x00, | 346 | 0x83, 0x00, |
347 | 0x84, 0xc5, | 347 | 0x84, 0xc5, |
348 | 0x85, 0x0d, // hsync and vsync ? | 348 | 0x85, 0x0d, // hsync and vsync ? |
349 | 0x86, 0x40, | 349 | 0x86, 0x40, |
350 | 0x87, 0x01, | 350 | 0x87, 0x01, |
351 | 0x88, 0x00, | 351 | 0x88, 0x00, |
@@ -434,7 +434,7 @@ static const unsigned char init[] = { | |||
434 | 0xd9, 0x04, | 434 | 0xd9, 0x04, |
435 | 0xda, 0x00, // horizontal luminance phase offset | 435 | 0xda, 0x00, // horizontal luminance phase offset |
436 | 0xdb, 0x00, | 436 | 0xdb, 0x00, |
437 | 0xdc, 0x00, // horizontal chrominance scaling increment | 437 | 0xdc, 0x00, // horizontal chrominance scaling increment |
438 | 0xdd, 0x02, | 438 | 0xdd, 0x02, |
439 | 0xde, 0x00, // horizontal chrominance phase offset | 439 | 0xde, 0x00, // horizontal chrominance phase offset |
440 | 0xdf, 0x00, | 440 | 0xdf, 0x00, |
@@ -754,7 +754,7 @@ saa7114_command (struct i2c_client *client, | |||
754 | saa7114_write(client, 0x87, | 754 | saa7114_write(client, 0x87, |
755 | decoder->reg[REG_ADDR(0x87)]); | 755 | decoder->reg[REG_ADDR(0x87)]); |
756 | saa7114_write(client, 0x88, 0xd8); // sw reset scaler | 756 | saa7114_write(client, 0x88, 0xd8); // sw reset scaler |
757 | saa7114_write(client, 0x88, 0xf8); // sw reset scaler release | 757 | saa7114_write(client, 0x88, 0xf8); // sw reset scaler release |
758 | saa7114_write(client, 0x80, 0x36); | 758 | saa7114_write(client, 0x80, 0x36); |
759 | 759 | ||
760 | } | 760 | } |
@@ -813,7 +813,7 @@ static unsigned short normal_i2c[] = | |||
813 | { I2C_SAA7114 >> 1, I2C_SAA7114A >> 1, I2C_CLIENT_END }; | 813 | { I2C_SAA7114 >> 1, I2C_SAA7114A >> 1, I2C_CLIENT_END }; |
814 | 814 | ||
815 | static unsigned short ignore = I2C_CLIENT_END; | 815 | static unsigned short ignore = I2C_CLIENT_END; |
816 | 816 | ||
817 | static struct i2c_client_address_data addr_data = { | 817 | static struct i2c_client_address_data addr_data = { |
818 | .normal_i2c = normal_i2c, | 818 | .normal_i2c = normal_i2c, |
819 | .probe = &ignore, | 819 | .probe = &ignore, |