[media] vpx3220, bt819: fix compiler warnings
Same status/res mixup. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
23aefb7e0e
commit
ba08831b84
@ -229,7 +229,7 @@ static int bt819_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd)
|
|||||||
if (pstd)
|
if (pstd)
|
||||||
*pstd = std;
|
*pstd = std;
|
||||||
if (pstatus)
|
if (pstatus)
|
||||||
*pstatus = status;
|
*pstatus = res;
|
||||||
|
|
||||||
v4l2_dbg(1, debug, sd, "get status %x\n", status);
|
v4l2_dbg(1, debug, sd, "get status %x\n", status);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -331,7 +331,7 @@ static int vpx3220_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pst
|
|||||||
if (pstd)
|
if (pstd)
|
||||||
*pstd = std;
|
*pstd = std;
|
||||||
if (pstatus)
|
if (pstatus)
|
||||||
*pstatus = status;
|
*pstatus = res;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user