Skip to contentSkip to conversation

misc device suspend/resume new model

DISCUSSION Florian Lohoff 2 participants 2 messages May 31, 2004

lore
Share & tools
lore
#0 lore raw

Hi,
what is the preferred way of getting suspend/resume events (new model) with misc devices registered via misc_register.

Registering a sys_driver/device/class ?

Flo

Signature · 2 lines
Florian Lohoff                  [email protected]             +49-171-2280134
                        Heisenberg may have been here.
#1 lore raw
Quoted 5 lines · Florian Lohoff

Hi,
what is the preferred way of getting suspend/resume events (new model) with misc devices registered via misc_register.

Registering a sys_driver/device/class ?

The suspend/resume events aren't propagated from the functional interface/class (which misc is), but from the bus binding. So you should get them from whatever bus your device is on, that is via a pci_dev for PCI devices, etc...

Ben.