]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mt2060: implement sleep
authorAntti Palosaari <crope@iki.fi>
Fri, 9 Dec 2016 17:11:09 +0000 (15:11 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 3 Feb 2017 08:55:46 +0000 (06:55 -0200)
commit49e3d6ae46b4ac62310dc8bc18b357e7fd1e4617
tree062d6b6e594302ca1e74908c281316d9703d0c44
parent07aa4f31265a59b545d2baa2f32f77395f861a6f
[media] mt2060: implement sleep

I saw from ZyDAS ZD1301 sniffs it sets chip sleeping by using
REG_MISC_CTRL. That has very huge effect for power management, around
0.9W. Sleep is still disabled for all the old hardware just to avoid
possible regression as meaning of register bits are unknown.

I tested it also with some other devices and it seems to be working,
but I still consider it to be too risky to change it default.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/tuners/mt2060.c
drivers/media/tuners/mt2060_priv.h