mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] rc-core: set mode for winbond-cir
@ 2012-04-08 10:13 David Härdeman
  0 siblings, 0 replies; only message in thread
From: David Härdeman @ 2012-04-08 10:13 UTC (permalink / raw)
  To: torvalds; +Cc: linux-media, linux-kernel, mchehab

Setting the correct mode is required by rc-core or scancodes won't be
generated (which isn't very user-friendly).

This one-line fix should be suitable for 3.4-rc2.

Signed-off-by: David Härdeman <david@hardeman.nu>
Cc: stable@kernel.org
---
 drivers/media/rc/winbond-cir.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/rc/winbond-cir.c b/drivers/media/rc/winbond-cir.c
index b09c5fa..af52658 100644
--- a/drivers/media/rc/winbond-cir.c
+++ b/drivers/media/rc/winbond-cir.c
@@ -1046,6 +1046,7 @@ wbcir_probe(struct pnp_dev *device, const struct pnp_device_id *dev_id)
 		goto exit_unregister_led;
 	}
 
+	data->dev->driver_type = RC_DRIVER_IR_RAW;
 	data->dev->driver_name = WBCIR_NAME;
 	data->dev->input_name = WBCIR_NAME;
 	data->dev->input_phys = "wbcir/cir0";


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-08 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-08 10:13 [PATCH] rc-core: set mode for winbond-cir David Härdeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®