projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4459e1
)
[media] rc-core: set mode for winbond-cir
author
David Härdeman
<david@hardeman.nu>
Sun, 8 Apr 2012 09:13:04 +0000
(06:13 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 18 Apr 2012 14:18:48 +0000
(11:18 -0300)
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>
drivers/media/rc/winbond-cir.c
patch
|
blob
|
history
diff --git
a/drivers/media/rc/winbond-cir.c
b/drivers/media/rc/winbond-cir.c
index
b09c5fa
..
af52658
100644
(file)
--- 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";