mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue