[media] it913x-fe changes to power up and down of tuner
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 1 Oct 2011 12:24:16 +0000 (09:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 8 Oct 2011 11:03:27 +0000 (08:03 -0300)
commite30528854797f057aa6ffb6dc9f890e923c467fd
treeed64c534f443b42fb61a0902e18be6b11385fd44
parent64933337e3cb61ca555969a35ab68b477db34ee2
[media] it913x-fe changes to power up and down of tuner

Currently the tuner is constantly powered causing these effects.
1. Remembering last tune channel causing corruptions of changing channel.
2. Causing corruption on other frontend.
3. Higher current in standby of demodulator with clock running.

Power sequence now follows;
Power Up
Tuner on -> Frontend suspend off -> Tuner clk on
Power Down
Frontend suspend on -> Tuner clk off -> Tuner off

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/it913x-fe-priv.h
drivers/media/dvb/frontends/it913x-fe.c