Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4580278f authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[media] stk1160: fix sparse warning



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

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 358486c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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