media: ir_toy: assignment to be16 should be of correct type
authorSean Young <sean@mess.org>
Wed, 13 Oct 2021 08:14:10 +0000 (09:14 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 19 Oct 2021 07:08:39 +0000 (08:08 +0100)
commitfebfe985fc2ea052a363f6525ff624b8efd5273c
treea91d3424996cf0248ef8178a0d2a062cc0c0a15f
parent6cb67bea945bdf0ad40e633cd2d9fbeb0855675b
media: ir_toy: assignment to be16 should be of correct type

commit f0c15b360fb6 ("media: ir_toy: prevent device from hanging during
transmit") removed a cpu_to_be16() cast, which causes a sparse warning.

Fixes: f0c15b360fb6 ("media: ir_toy: prevent device from hanging during transmit")
Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/rc/ir_toy.c