[media] rtl2832: implement sleep
authorAntti Palosaari <crope@iki.fi>
Tue, 16 Dec 2014 17:51:33 +0000 (14:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 3 Feb 2015 18:20:02 +0000 (16:20 -0200)
commita08c3781194142cce39bbb739373efc8dacaa1fa
tree2ede8612d68c74df6982ba94bb25e0a4cf42a7a4
parent75c24005eeec0613c319a577c613182ead017cff
[media] rtl2832: implement sleep

Put demod to soft reset in order to save power when sleep. That drops
power usage ~30mA @5V on USB dongle I tested. In real life it does
not matter much as USB IF powers off demod too, but now it is done
twice - demod and USB IF.

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