]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] it913x: fix tuner sleep power leak
authorAntti Palosaari <crope@iki.fi>
Sat, 9 Aug 2014 03:15:05 +0000 (00:15 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 20:22:11 +0000 (17:22 -0300)
commitf69429447ac11edfcbedd11cff62917831141e35
treefadae19a878c59b7673651a91d5dc8bf9e0f8037
parent15ba8202e6f9417abd1d6831aca4237407e0ff0b
[media] it913x: fix tuner sleep power leak

IT913x tuner driver disables own clock, provided by demod core, as
very a first operation when tuner is put on *sleep*. That likely
causes failure of all the rest commands on sleep sequence, which
leads situation where tuner is not actually on sleep, but consuming
a lot of power.

I measured 102mA current consumption from the USB before change
and after change it was only 32mA. Used device was single tuner
IT9135 BX.

Second reason to remove that register from tuner driver is reason
it is simply on wrong driver (demod vs. tuner), breaking the
principle of correct driver.

Clock is now provided more correctly af9033 demod driver as a
config option.

Cc: Bimow Chen <Bimow.Chen@ite.com.tw>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/tuner_it913x.c
drivers/media/tuners/tuner_it913x_priv.h