[media] a8293: improve LNB register programming logic
authorAntti Palosaari <crope@iki.fi>
Mon, 20 Apr 2015 21:47:44 +0000 (18:47 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 10:09:42 +0000 (07:09 -0300)
commit4bef67e311d6f9908eeae054d5b8611138956abc
treeed6acf189b35f0effac22c79da7cdec9055b94a4
parent2c509b866bd299ab83cf1a4fb478055154845c8a
[media] a8293: improve LNB register programming logic

On power-on LNB power supply voltage is disabled, due to that no
need to disable it during probe. Tone is supply is hard-coded as
external tone coming from the demodulator. Program both voltage
and tone on set_voltage(). Use register cache to prevent unneeded
programming.

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