From: Hans Verkuil Date: Thu, 25 Aug 2011 13:52:53 +0000 (-0300) Subject: [media] vpx3220, bt819: fix compiler warnings X-Git-Tag: MMI-PSA29.97-13-9~18177^2~226 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ba08831b84211e48ae4ce6272eebeade8d41cff4;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [media] vpx3220, bt819: fix compiler warnings Same status/res mixup. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/bt819.c b/drivers/media/video/bt819.c index f87204461cb4..859eabf57978 100644 --- a/drivers/media/video/bt819.c +++ b/drivers/media/video/bt819.c @@ -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; diff --git a/drivers/media/video/vpx3220.c b/drivers/media/video/vpx3220.c index ca372eb911d0..e5cad6ff64a1 100644 --- a/drivers/media/video/vpx3220.c +++ b/drivers/media/video/vpx3220.c @@ -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; }