mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
media: staging: imx: controls are from another device, mark this
The last argument of v4l2_ctrl_add_handler() indicates whether the controls you add are from a control handler owned by another driver (true) or from the same driver (false). In this case the last argument was incorrectly set to false. The control handlers are from different devices. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
7d62ebc654
commit
24d9cb1430
|
|
@ -401,7 +401,7 @@ int imx_media_fim_add_controls(struct imx_media_fim *fim)
|
|||
{
|
||||
/* add the FIM controls to the calling subdev ctrl handler */
|
||||
return v4l2_ctrl_add_handler(fim->sd->ctrl_handler,
|
||||
&fim->ctrl_handler, NULL, false);
|
||||
&fim->ctrl_handler, NULL, true);
|
||||
}
|
||||
|
||||
/* Called by the subdev in its subdev registered callback */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user