diff options
author | David Härdeman <david@hardeman.nu> | 2012-04-08 06:13:04 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 09:51:06 -0700 |
commit | 6df0d3bbc1954a274e41f084556f1313e288c80b (patch) | |
tree | cee538bca8372fcb53e8ec2b60073f41bbe7738c /drivers/media/rc | |
parent | 590999cbb260ae3a2907d4070bdd535c28e86868 (diff) | |
download | kernel_samsung_smdk4412-6df0d3bbc1954a274e41f084556f1313e288c80b.zip kernel_samsung_smdk4412-6df0d3bbc1954a274e41f084556f1313e288c80b.tar.gz kernel_samsung_smdk4412-6df0d3bbc1954a274e41f084556f1313e288c80b.tar.bz2 |
media: rc-core: set mode for winbond-cir
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>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r-- | drivers/media/rc/winbond-cir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/rc/winbond-cir.c b/drivers/media/rc/winbond-cir.c index 5d06b89..6f03846 100644 --- a/drivers/media/rc/winbond-cir.c +++ b/drivers/media/rc/winbond-cir.c @@ -1058,6 +1058,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"; |