[media] rtl2832: merge reg page as a part of reg address
commiteec21beb35a0d45a555ab6ac0a99257a2e7e726a
authorAntti Palosaari <crope@iki.fi>
Mon, 15 Dec 2014 04:17:25 +0000 (15 01:17 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 3 Feb 2015 18:12:07 +0000 (3 16:12 -0200)
treebe23c782b016cf8b90ca310f9276872da8dd8263
parent5e5d52a00fe8b114551a05379ac446497738df7d
[media] rtl2832: merge reg page as a part of reg address

Chips uses 8-bit register addresses with 5 pages. Extend register
address by using register page as a first byte of address, defining
virtual register addresses. That is common method of handling
register pages and regmap also uses it. Remove page + address
conversion glue which was there for regmap.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/rtl2832.c
drivers/media/dvb-frontends/rtl2832_priv.h