diff options
author | Sean Young <sean@mess.org> | 2021-08-03 11:03:30 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:07:40 +0200 |
commit | e6d025d880f43d45d9f185d50b59936804457bcf (patch) | |
tree | 6f02dec5c8f254bb3d610a9d836ff8d37189f248 /drivers/media/rc/mceusb.c | |
parent | media: Clean V4L2_PIX_FMT_NV12MT documentation (diff) | |
download | linux-e6d025d880f43d45d9f185d50b59936804457bcf.tar.xz linux-e6d025d880f43d45d9f185d50b59936804457bcf.zip |
media: mceusb: 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>
Diffstat (limited to 'drivers/media/rc/mceusb.c')
-rw-r--r-- | drivers/media/rc/mceusb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/rc/mceusb.c b/drivers/media/rc/mceusb.c index e03dd1f0144f..28bf78ff246a 100644 --- a/drivers/media/rc/mceusb.c +++ b/drivers/media/rc/mceusb.c @@ -1612,6 +1612,7 @@ static struct rc_dev *mceusb_init_rc_dev(struct mceusb_dev *ir) rc->dev.parent = dev; rc->priv = ir; rc->allowed_protocols = RC_PROTO_BIT_ALL_IR_DECODER; + rc->rx_resolution = MCE_TIME_UNIT; rc->min_timeout = MCE_TIME_UNIT; rc->timeout = MS_TO_US(100); if (!mceusb_model[ir->model].broken_irtimeout) { |