[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:
parent
358486c426
commit
4580278f5d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue