drivers: video: Support controls of 64-bit integer type
Add supports for controls that need 64-bit integer such as pixel rate. Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
This commit is contained in:
parent
c95387a815
commit
f363bd6e36
14 changed files with 167 additions and 86 deletions
|
@ -127,7 +127,7 @@ ZTEST(video_common, test_video_frmival)
|
|||
|
||||
ZTEST(video_common, test_video_ctrl)
|
||||
{
|
||||
struct video_control ctrl = {VIDEO_CID_PRIVATE_BASE + 0x01, 30};
|
||||
struct video_control ctrl = {.id = VIDEO_CID_PRIVATE_BASE + 0x01, .val = 30};
|
||||
|
||||
/* Emulated vendor specific control, expected to be supported by all imagers */
|
||||
zexpect_ok(video_set_ctrl(imager_dev, &ctrl));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue