V4L/DVB (9634): Make sure the i2c gate is open before powering down tuner
commit41286d972530b7a47acb48376d714b6b121a6c22
authorDevin Heitmueller <devin.heitmueller@gmail.com>
Sun, 16 Nov 2008 03:44:52 +0000 (16 00:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Nov 2008 01:57:13 +0000 (16 23:57 -0200)
treed03ceac3b28b9cde3028f276f68359e58956e764
parent3f9b46c154da5ec4facca88f82d1820eb329fd3e
V4L/DVB (9634): Make sure the i2c gate is open before powering down tuner

It is not safe to assume that the i2c gate will be open before issuing the
command to power down the tuner.  In fact, many demods only open the gate
long enough to issue the tuning command.

This fix allows power management to work properly for those tuners behind an
i2c gate (in my case the problem was with the HVR-950Q)

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvb_frontend.c