Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d4xx: hwmc return success on ioctl #189

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Conversation

dmipx
Copy link
Contributor

@dmipx dmipx commented Mar 20, 2024

LRS expects success on hwmc ioctl call.

[Error] /tmp/sandbox/src/librealsense-exception.h:52 - xioctl(VIDIOC_G_EXT_CTRLS) failed Last Error: Bad message

LRS expects success on hwmc ioctl call.

[Error] /tmp/sandbox/src/librealsense-exception.h:52 - xioctl(VIDIOC_G_EXT_CTRLS) failed Last Error: Bad message

Signed-off-by: Dmitry Perchanov <[email protected]>
@dmipx dmipx requested a review from Nir-Az March 20, 2024 12:22
@@ -2514,8 +2514,10 @@ static int ds5_g_volatile_ctrl(struct v4l2_ctrl *ctrl)
u16 dataLen = 0;
u16 bufLen = ctrl->dims[0];
ret = ds5_get_hwmc(state, data, bufLen, &dataLen);
if (ret)
if (ret) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's speak about it,
We should get real return value from FW

@Nir-Az Nir-Az merged commit cf7fe64 into IntelRealSense:dev Mar 21, 2024
1 check passed
Nir-Az added a commit to Nir-Az/realsense_mipi_platform_driver that referenced this pull request Mar 24, 2024
dmipx pushed a commit to dmipx/realsense_mipi_platform_driver that referenced this pull request Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants