diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-12-26 13:57:00 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-12-26 13:57:00 +0000 |
commit | f12863ef9f416661a0701b40684653e682edd686 (patch) | |
tree | 16d647cda8cd9cc2ba619652844035c857504583 /linux/include/media | |
parent | 47f8c542de6bd81e34cd5a3731686720f9b2b73f (diff) | |
download | mediapointer-dvb-s2-f12863ef9f416661a0701b40684653e682edd686.tar.gz mediapointer-dvb-s2-f12863ef9f416661a0701b40684653e682edd686.tar.bz2 |
Fixed API to set I2S speed control
- Created a new ioctl to control I2S speed. Old calls to an
inadequate V4L2 API replaced.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/include/media')
-rw-r--r-- | linux/include/media/v4l2-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-common.h b/linux/include/media/v4l2-common.h index 9b77a27b9..90248d29e 100644 --- a/linux/include/media/v4l2-common.h +++ b/linux/include/media/v4l2-common.h @@ -102,4 +102,11 @@ enum v4l2_chip_ident { be made. */ #define VIDIOC_INT_G_CHIP_IDENT _IOR ('d', 107, enum v4l2_chip_ident *) +/* Sets I2S speed in bps. This is used to provide a standard way to select I2S + clock used by driving digital audio streams at some board designs. + Usual values for the frequency are 1024000 and 2048000. + If the frequency is not supported, then -EINVAL is returned. */ +#define VIDIOC_INT_I2S_CLOCK_FREQ _IOW ('d', 108, u32) + + #endif /* V4L2_COMMON_H_ */ |