mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]>
This commit is contained in:
parent
e1bc80adaf
commit
9bb13a6dc3
6 changed files with 35 additions and 15 deletions
|
|
@ -107,4 +107,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_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue