]> git.baikalelectronics.ru Git - kernel.git/commit
[media] rc-core: fix toggle handling in the rc6 decoder
authorDavid Härdeman <david@hardeman.nu>
Thu, 20 Nov 2014 21:09:54 +0000 (18:09 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 21 Nov 2014 17:57:47 +0000 (15:57 -0200)
commitf3ba26456b57ab4f0514b99f01e5ed959ecfd8a9
tree8463ce0cb32972a7de8acd3ac7785a9f47edb861
parentd52b08c4cf294c6b6c161eab0b700b115798e4b8
[media] rc-core: fix toggle handling in the rc6 decoder

The toggle bit shouldn't be cleared before the toggle value is calculated.

This should probably go into 3.17.x as well.

Fixes: ad6e47974e1e ([media] rc-core: document the protocol type)
Cc: stable@vger.kernel.org # For v3.17
Tested-by: Stephan Raue <mailinglists@openelec.tv>
Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/ir-rc6-decoder.c