dvb-fe: Add support for setting the LNA before tuning
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 16 Feb 2014 08:36:47 +0000 (17:36 +0900)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 16 Feb 2014 09:01:32 +0000 (18:01 +0900)
commit501fad1fc21af336f86a5bed58531d1fc5622b07
tree4da3b6966292af0c73d6f97b56274e5987be1cb9
parentd91894aa2207ac0863bb4afc4594020280ddfa3b
dvb-fe: Add support for setting the LNA before tuning

Sometimes, we need to control the Low Noise Amplifier (LNA)
at the antena, in order to get a signal. This is dependent on
the way the tuner is connected to the antena, and if the antena
has support for it.

Add a logic at the code to set it. By default, LNA will be in auto
mode, with is the DVB core's default.

Enabling or disabling it is just a matter of changing parms->lna.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
lib/include/dvb-fe.h
lib/libdvbv5/dvb-fe.c