summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2012-04-08 06:13:04 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-04-18 11:18:48 -0300
commitd9b786955f80fb306471fdb9ea24c6d03af6ca36 (patch)
treece8cd9d9c4a11af56a4e6e87f97918e726921142
parente4459e1682c107d7ee1bf102c1ba534230e9b50b (diff)
downloadlinux-d9b786955f80fb306471fdb9ea24c6d03af6ca36.tar.gz
linux-d9b786955f80fb306471fdb9ea24c6d03af6ca36.tar.bz2
linux-d9b786955f80fb306471fdb9ea24c6d03af6ca36.zip
[media] rc-core: set mode for winbond-cir
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 Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/rc/winbond-cir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/rc/winbond-cir.c b/drivers/media/rc/winbond-cir.c
index b09c5fae489b..af526586fa26 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";