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

Commit 12c3b9b9 authored by Sean Young's avatar Sean Young Committed by Mauro Carvalho Chehab
Browse files

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: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 2168b416
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;