media: secocec: fix ir address shift
authorEttore Chimenti <ek5.chimenti@gmail.com>
Thu, 27 Dec 2018 13:06:35 +0000 (08:06 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 16 Jan 2019 16:44:50 +0000 (11:44 -0500)
commit88903a1abd00e051f3ddfe7b86949882260ddf86
treef56146fc1fdfa969e910948b36f879a6c9d4bbdb
parentc54dbfcda3059c255f335e75a27d7f5c64e6549e
media: secocec: fix ir address shift

The actual value of the RC5 System Number (address) is stored in the
IR_READ_DATA common register masked with 0x1F00 so it have to be shifted
by 8 bits.

Signed-off-by: Ettore Chimenti <ek5.chimenti@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/seco-cec/seco-cec.h