media: rc: ir-rc6-decoder: enable toggle bit for Zotac remotes
authorMatthias Reichl <hias@horus.com>
Thu, 7 Feb 2019 09:29:12 +0000 (04:29 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 20:40:32 +0000 (15:40 -0500)
commitb1f37757dc3befef88fba3961410627e43795f13
tree1db6853392dfa404f17354deaebef3da4f8b7a59
parent721074b03411327e7bf41555d4cc7c18f49313f7
media: rc: ir-rc6-decoder: enable toggle bit for Zotac remotes

The Zotac RC2604323/01G and RC2604329/02BG remotes use the 32-bit
rc6 protocol and toggle bit 15 (0x8000) on repeated button presses,
like MCE remotes.

Add the customer code 0x80340000 to the 32-bit rc6 toggle
handling code to get proper scancodes and toggle reports.

Signed-off-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/rc/ir-rc6-decoder.c