aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/au8522_dig.c
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2009-03-11 02:00:34 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:24 -0400
commit7bf63eda681e095ca3c39d075354053107febf80 (patch)
tree84b4a7a6b23bdbd88a3b17bdb0df02fa52c27e12 /drivers/media/dvb/frontends/au8522_dig.c
parent083a17317be27a0f33d999b4360320b322a8b55b (diff)
V4L/DVB (11063): au8522: power down the digital demod when not in use
When the au8522 is idle, put the chip into a low power mode (reduces power consumption from 450ma to 346ma) Thanks to Michael Krufky <mkrufky@linuxtv.org> and Steven Toth <stoth@linuxtv.org> for providing sample hardware, engineering level support, and testing. Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/au8522_dig.c')
-rw-r--r--drivers/media/dvb/frontends/au8522_dig.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/au8522_dig.c b/drivers/media/dvb/frontends/au8522_dig.c
index 17bdbe2c67e6..fa3ecbed1e58 100644
--- a/drivers/media/dvb/frontends/au8522_dig.c
+++ b/drivers/media/dvb/frontends/au8522_dig.c
@@ -617,6 +617,9 @@ int au8522_sleep(struct dvb_frontend *fe)
617 /* turn off led */ 617 /* turn off led */
618 au8522_led_ctrl(state, 0); 618 au8522_led_ctrl(state, 0);
619 619
620 /* Power down the chip */
621 au8522_writereg(state, 0xa4, 1 << 5);
622
620 state->current_frequency = 0; 623 state->current_frequency = 0;
621 624
622 return 0; 625 return 0;