[media] it913x: change reg read/write routines more common
authorAntti Palosaari <crope@iki.fi>
Tue, 26 Aug 2014 21:56:46 +0000 (18:56 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 21:17:42 +0000 (18:17 -0300)
commit8da55c94dd85474a9925bd07a73959ae77a5aa6d
tree9c8d51a598f2b2ab61eb8aabb0047772bcd8915b
parent3b2a5e8c080da37be6135f44d236fe6b796666d9
[media] it913x: change reg read/write routines more common

Change register write and read routines to similar which are
typically used. We have to add processor core as a part of register
address in order to simplify register access. Chip has two cores,
called link and ofdm. As for now, use address bit 24 to address used
core. Bits 15:0 are register address in given core.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/it913x.c
drivers/media/tuners/it913x_priv.h