[media] stk1160: fix sparse warning

stk1160-v4l.c:478:49: warning: incorrect type in argument 3 (different base types)

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Hans Verkuil 2014-11-05 04:54:09 -03:00 committed by Mauro Carvalho Chehab
parent 358486c426
commit 4580278f5d
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ static int vidioc_s_register(struct file *file, void *priv,
struct stk1160 *dev = video_drvdata(file);
/* Match host */
return stk1160_write_reg(dev, reg->reg, cpu_to_le16(reg->val));
return stk1160_write_reg(dev, reg->reg, reg->val);
}
#endif