summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa6752hs.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-28 15:27:45 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-28 15:27:45 -0300
commit6bf77e770ed9aaba385261c18ec5c8f16a160e20 (patch)
treee5376cf1e1c8a9c07221f424e05dc22609427c91 /linux/drivers/media/video/saa7134/saa6752hs.c
parentc265cca51af88f5caff789df5ead7de8662ccc0f (diff)
parent1719eff8a6f088e48ed02067ff1a00577f53d1aa (diff)
downloadmediapointer-dvb-s2-6bf77e770ed9aaba385261c18ec5c8f16a160e20.tar.gz
mediapointer-dvb-s2-6bf77e770ed9aaba385261c18ec5c8f16a160e20.tar.bz2
merge: http://linuxtv.org/hg/~hverkuil/tda9887
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa6752hs.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa6752hs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/saa7134/saa6752hs.c b/linux/drivers/media/video/saa7134/saa6752hs.c
index 0422e10e6..f89e6d070 100644
--- a/linux/drivers/media/video/saa7134/saa6752hs.c
+++ b/linux/drivers/media/video/saa7134/saa6752hs.c
@@ -443,10 +443,10 @@ static void saa6752hs_old_set_params(struct i2c_client* client,
}
static int handle_ctrl(struct saa6752hs_mpeg_params *params,
- struct v4l2_ext_control *ctrl, int cmd)
+ struct v4l2_ext_control *ctrl, unsigned int cmd)
{
int old = 0, new;
- int set = cmd == VIDIOC_S_EXT_CTRLS;
+ int set = (cmd == VIDIOC_S_EXT_CTRLS);
new = ctrl->value;
switch (ctrl->id) {