提交 ba08831b 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

[media] vpx3220, bt819: fix compiler warnings

Same status/res mixup.
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 23aefb7e
......@@ -229,7 +229,7 @@ static int bt819_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd)
if (pstd)
*pstd = std;
if (pstatus)
*pstatus = status;
*pstatus = res;
v4l2_dbg(1, debug, sd, "get status %x\n", status);
return 0;
......
......@@ -331,7 +331,7 @@ static int vpx3220_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pst
if (pstd)
*pstd = std;
if (pstatus)
*pstatus = status;
*pstatus = res;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册