Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba08831b authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[media] vpx3220, bt819: fix compiler warnings



Same status/res mixup.

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 23aefb7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;
}