diff options
author | Sean Young <sean@mess.org> | 2017-08-07 15:54:51 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-20 09:58:21 -0400 |
commit | 12c3b9b921d00cc2e4c460b11ae68b733a457a22 (patch) | |
tree | 5e6f34ca9146e7db7b3da32b77ca64eafe1c6883 /drivers/media/pci | |
parent | 2168b416c8326cc2edff9d986feebc569cf9ec10 (diff) | |
download | talos-op-linux-12c3b9b921d00cc2e4c460b11ae68b733a457a22.tar.gz talos-op-linux-12c3b9b921d00cc2e4c460b11ae68b733a457a22.zip |
media: rc: saa7134: raw decoder can support any protocol
Any protocol for which we have a software decoder, can be enabled. Without
this only the loaded protocol decoders can be selected.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r-- | drivers/media/pci/saa7134/saa7134-input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/pci/saa7134/saa7134-input.c b/drivers/media/pci/saa7134/saa7134-input.c index e7b386ee3ff9..a14b86d88afb 100644 --- a/drivers/media/pci/saa7134/saa7134-input.c +++ b/drivers/media/pci/saa7134/saa7134-input.c @@ -856,8 +856,10 @@ int saa7134_input_init1(struct saa7134_dev *dev) rc->priv = dev; rc->open = saa7134_ir_open; rc->close = saa7134_ir_close; - if (raw_decode) + if (raw_decode) { rc->driver_type = RC_DRIVER_IR_RAW; + rc->allowed_protocols = RC_BIT_ALL_IR_DECODER; + } rc->device_name = ir->name; rc->input_phys = ir->phys; |