diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-06-24 01:05:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:06:39 -0400 |
commit | ac19ecc6fa57b0ea320f01831175ff163f47d6a2 (patch) | |
tree | e57248fd223eddb98a43eed6abbac704863a0abd /drivers/media/video/saa7134/saa6752hs.c | |
parent | 56fc08ca375491b965cb76fad65bfb98973e80d8 (diff) |
[PATCH] v4l: update for SAA7134 cards
This patch adds support for various SAA7134 cards and brings some fixes.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Fabrice Aeschbacher <fabrice.aeschbacher@laposte.net>
Signed-off-by: Hermann Pitton <hermann.pitton@onlinehome.de>.
Signed-off-by: Nickolay V Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa6752hs.c')
-rw-r--r-- | drivers/media/video/saa7134/saa6752hs.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/drivers/media/video/saa7134/saa6752hs.c b/drivers/media/video/saa7134/saa6752hs.c index 42c2b565c9fe..d14158b111bf 100644 --- a/drivers/media/video/saa7134/saa6752hs.c +++ b/drivers/media/video/saa7134/saa6752hs.c | |||
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | /* Addresses to scan */ | 23 | /* Addresses to scan */ |
24 | static unsigned short normal_i2c[] = {0x20, I2C_CLIENT_END}; | 24 | static unsigned short normal_i2c[] = {0x20, I2C_CLIENT_END}; |
25 | static unsigned short normal_i2c_range[] = {I2C_CLIENT_END}; | ||
25 | I2C_CLIENT_INSMOD; | 26 | I2C_CLIENT_INSMOD; |
26 | 27 | ||
27 | MODULE_DESCRIPTION("device driver for saa6752hs MPEG2 encoder"); | 28 | MODULE_DESCRIPTION("device driver for saa6752hs MPEG2 encoder"); |
@@ -41,16 +42,16 @@ enum saa6752hs_videoformat { | |||
41 | 42 | ||
42 | static const struct v4l2_format v4l2_format_table[] = | 43 | static const struct v4l2_format v4l2_format_table[] = |
43 | { | 44 | { |
44 | [SAA6752HS_VF_D1] = { | 45 | [SAA6752HS_VF_D1] = |
45 | .fmt = { .pix = { .width = 720, .height = 576 }, }, }, | 46 | { .fmt = { .pix = { .width = 720, .height = 576 }}}, |
46 | [SAA6752HS_VF_2_3_D1] = { | 47 | [SAA6752HS_VF_2_3_D1] = |
47 | .fmt = { .pix = { .width = 480, .height = 576 }, }, }, | 48 | { .fmt = { .pix = { .width = 480, .height = 576 }}}, |
48 | [SAA6752HS_VF_1_2_D1] = { | 49 | [SAA6752HS_VF_1_2_D1] = |
49 | .fmt = { .pix = { .width = 352, .height = 576 }, }, }, | 50 | { .fmt = { .pix = { .width = 352, .height = 576 }}}, |
50 | [SAA6752HS_VF_SIF] = { | 51 | [SAA6752HS_VF_SIF] = |
51 | .fmt = { .pix = { .width = 352, .height = 288 }, }, }, | 52 | { .fmt = { .pix = { .width = 352, .height = 288 }}}, |
52 | [SAA6752HS_VF_UNKNOWN] = { | 53 | [SAA6752HS_VF_UNKNOWN] = |
53 | .fmt = { .pix = { .width = 0, .height = 0 }, }, }, | 54 | { .fmt = { .pix = { .width = 0, .height = 0}}}, |
54 | }; | 55 | }; |
55 | 56 | ||
56 | struct saa6752hs_state { | 57 | struct saa6752hs_state { |