[media] stv090x: make sleep/wakeup specific to the demod path
authorAndreas Regel <andreas.regel@gmx.de>
Mon, 10 Jan 2011 09:36:09 +0000 (06:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:31:44 +0000 (20:31 -0300)
commit5bd0dc2d8a0db2f2e119ea50d07bf49e5e038f12
tree4c4e788ca3627c334be3a5f9091f81a38006a80d
parent2c2c441b10644a273ff82a43ec18034ec1dd4c4e
[media] stv090x: make sleep/wakeup specific to the demod path

The STV0900 features two demodulator paths in one chip. Thus it is not
possible to use the generic power off function of the chip when sending
one of them to standby. The other path will stop working in that case.

The sleep function now switches off functionality specific to the demod
path. The global stuff is only switched off, when both paths are in
sleep mode. The wakeup function always turns on the global functionality
and then works specific to the path.

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stv090x.c