Skip to content

Commit

Permalink
[media] vpx3220, bt819: fix compiler warnings
Browse files Browse the repository at this point in the history
Same status/res mixup.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Sep 6, 2011
1 parent 23aefb7 commit ba08831
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/media/video/bt819.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/vpx3220.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ba08831

Please sign in to comment.