Messages in this thread Patch in this message | | | Date | Tue, 24 Apr 2012 15:33:06 -0700 | From | Greg KH <> | Subject | [ 13/42] media: rc-core: set mode for winbond-cir |
| |
3.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: David HÀrdeman <david@hardeman.nu>
commit d9b786955f80fb306471fdb9ea24c6d03af6ca36 upstream.
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> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--- drivers/media/rc/winbond-cir.c | 1 + 1 file changed, 1 insertion(+)
--- a/drivers/media/rc/winbond-cir.c +++ b/drivers/media/rc/winbond-cir.c @@ -1058,6 +1058,7 @@ wbcir_probe(struct pnp_dev *device, cons 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";
| |