Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: refactoring



Gerd Knorr wrote:

Not in /sys/devices, which is needed for powermanagement, because the
power management code walks the device tree on suspend/resume.

Power management is transparently handled by the card driver, both the USB and PCI hooks have suspend/resume callbacks which put the frontend asleep or wake it up and reinitialize it.

Show me the code.

The only thing I can find in the cvs is a suspend handler in
drivers/media/dvb/bt8xx/dvb-bt8xx.c, which is commented out:

.drv = {
.name = "dvb-bt8xx",
.probe = dvb_bt8xx_probe,
.remove = dvb_bt8xx_remove,
/* FIXME:
* .shutdown = dvb_bt8xx_shutdown,
* .suspend = dvb_bt8xx_suspend,
* .resume = dvb_bt8xx_resume,
*/
},

Which handlers / callbacks you are talking about?

exactly these ones are specified by the PCI API to be used for suspend and resume callbacks. Should get implemented.

Holger





Home | Main Index | Thread Index