media: rc-core: set mode for winbond-cir
commit732ecb92a61ff21a18397dfa749aa7575065f6f4
authorDavid Härdeman <david@hardeman.nu>
Sun, 8 Apr 2012 09:13:04 +0000 (8 06:13 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Apr 2012 17:16:37 +0000 (27 10:16 -0700)
treeadb148a8b4bd087a80dfe0bd9c42d1783182aa7c
parent1384df42761379a44e3073e4d18defbf1ad7053c
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>
drivers/media/rc/winbond-cir.c