|
@@ -764,10 +764,8 @@ static int pd_vidioc_s_fmt(struct poseidon *pd, struct v4l2_pix_format *pix)
|
|
}
|
|
}
|
|
ret |= send_set_req(pd, VIDEO_ROSOLU_SEL,
|
|
ret |= send_set_req(pd, VIDEO_ROSOLU_SEL,
|
|
vid_resol, &cmd_status);
|
|
vid_resol, &cmd_status);
|
|
- if (ret || cmd_status) {
|
|
|
|
- mutex_unlock(&pd->lock);
|
|
|
|
|
|
+ if (ret || cmd_status)
|
|
return -EBUSY;
|
|
return -EBUSY;
|
|
- }
|
|
|
|
|
|
|
|
pix_def->pixelformat = pix->pixelformat; /* save it */
|
|
pix_def->pixelformat = pix->pixelformat; /* save it */
|
|
pix->height = (context->tvnormid & V4L2_STD_525_60) ? 480 : 576;
|
|
pix->height = (context->tvnormid & V4L2_STD_525_60) ? 480 : 576;
|