aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 12:25:37 -0500
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 12:25:37 -0500
commit9bb13a6dc3a6f68c990264838ff0493d900c48d7 (patch)
tree274f9dfdcbbbff9f7a382df772a6f2efa9247cc7 /include
parente1bc80adaf801bf75ca176b9c1b60b3cceee1e03 (diff)
V4L/DVB (3233): 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 'include')
-rw-r--r--include/linux/videodev2.h1
-rw-r--r--include/media/v4l2-common.h7
2 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index b2f5e864b397..6ac7c1f7902f 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -895,7 +895,6 @@ struct v4l2_audio
895 895
896/* Flags for the 'mode' field */ 896/* Flags for the 'mode' field */
897#define V4L2_AUDMODE_AVL 0x00001 897#define V4L2_AUDMODE_AVL 0x00001
898#define V4L2_AUDMODE_32BITS 0x00002
899 898
900struct v4l2_audioout 899struct v4l2_audioout
901{ 900{
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h
index d3fd48157eb8..2f2402996409 100644
--- a/include/media/v4l2-common.h
+++ b/include/media/v4l2-common.h
@@ -107,4 +107,11 @@ enum v4l2_chip_ident {
107 be made. */ 107 be made. */
108#define VIDIOC_INT_G_CHIP_IDENT _IOR ('d', 107, enum v4l2_chip_ident *) 108#define VIDIOC_INT_G_CHIP_IDENT _IOR ('d', 107, enum v4l2_chip_ident *)
109 109
110/* Sets I2S speed in bps. This is used to provide a standard way to select I2S
111 clock used by driving digital audio streams at some board designs.
112 Usual values for the frequency are 1024000 and 2048000.
113 If the frequency is not supported, then -EINVAL is returned. */
114#define VIDIOC_INT_I2S_CLOCK_FREQ _IOW ('d', 108, u32)
115
116
110#endif /* V4L2_COMMON_H_ */ 117#endif /* V4L2_COMMON_H_ */