diff options
author | Paul Mackerras <paulus@samba.org> | 2007-04-29 22:38:01 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-29 22:38:01 -0400 |
commit | 49e1900d4cc2e7bcecb681fe60f0990bec2dcce8 (patch) | |
tree | 253801ebf57e0a23856a2c7be129c2c178f62fdf /drivers/media/video/cs53l32a.c | |
parent | 34f6d749c0a328817d5e36274e53121c1db734dc (diff) | |
parent | b9099ff63c75216d6ca10bce5a1abcd9293c27e6 (diff) |
Merge branch 'linux-2.6' into for-2.6.22
Diffstat (limited to 'drivers/media/video/cs53l32a.c')
-rw-r--r-- | drivers/media/video/cs53l32a.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/cs53l32a.c b/drivers/media/video/cs53l32a.c index de87247c74ee..a73e285af730 100644 --- a/drivers/media/video/cs53l32a.c +++ b/drivers/media/video/cs53l32a.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <linux/i2c-id.h> | 28 | #include <linux/i2c-id.h> |
29 | #include <linux/videodev.h> | 29 | #include <linux/videodev.h> |
30 | #include <media/v4l2-common.h> | 30 | #include <media/v4l2-common.h> |
31 | #include <media/v4l2-chip-ident.h> | ||
31 | 32 | ||
32 | MODULE_DESCRIPTION("i2c device driver for cs53l32a Audio ADC"); | 33 | MODULE_DESCRIPTION("i2c device driver for cs53l32a Audio ADC"); |
33 | MODULE_AUTHOR("Martin Vaughan"); | 34 | MODULE_AUTHOR("Martin Vaughan"); |
@@ -103,6 +104,9 @@ static int cs53l32a_command(struct i2c_client *client, unsigned int cmd, | |||
103 | cs53l32a_write(client, 0x05, (u8) ctrl->value); | 104 | cs53l32a_write(client, 0x05, (u8) ctrl->value); |
104 | break; | 105 | break; |
105 | 106 | ||
107 | case VIDIOC_G_CHIP_IDENT: | ||
108 | return v4l2_chip_ident_i2c_client(client, arg, V4L2_IDENT_CS53l32A, 0); | ||
109 | |||
106 | case VIDIOC_LOG_STATUS: | 110 | case VIDIOC_LOG_STATUS: |
107 | { | 111 | { |
108 | u8 v = cs53l32a_read(client, 0x01); | 112 | u8 v = cs53l32a_read(client, 0x01); |