Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: streamzap: ensure rx resolution can be retrieved

The receiver resolution is not populated. The resolution can be used to for
various purposes like calculating the margins the decoder should use.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

authored by

Sean Young and committed by
Mauro Carvalho Chehab
8dcea1d6 e6d025d8

+1
+1
drivers/media/rc/streamzap.c
··· 293 293 rdev->allowed_protocols = RC_PROTO_BIT_ALL_IR_DECODER; 294 294 rdev->driver_name = DRIVER_NAME; 295 295 rdev->map_name = RC_MAP_STREAMZAP; 296 + rdev->rx_resolution = SZ_RESOLUTION; 296 297 297 298 ret = rc_register_device(rdev); 298 299 if (ret < 0) {