Hi Oliver, > > What are the semantics for usb_autopm_{get,put}_interface? Can we expect > > to always get a suspend() and resume() callback? > > usb_autopm_get_interface() guarantees that after it returns successsfully > the interface (and teh device with it) remains unautosuspended until you > call usb_autopm_put_interface. The calls stack with a counter. > > You'll get a resume() callback only if the device was actually suspended. so a device didn't start out suspended? Too bad, otherwise you could cut the logic in the driver a lot. I tried to run this on my Quad G5, but I never see suspend() or resume() called. Do I have to do something to make autosuspend work? Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html