Am Mittwoch, 19. August 2009 17:22:49 schrieb Alan Stern: > Oliver: > > It's time to think about converting the USB subsystem over to Rafael's > new runtime PM framework. It's highly compatible with the code we > already have, except for one thing: The usage counters have to follow a > strict get/put model. In other words, we can't allow drivers to access > the analog of intf->pm_usage_cnt directly, and we can't support > usb_autopm_set_interface(), usb_autopm_enable(), or > usb_autopm_disable(). Good, it shouldn't matter. > For the most part I think this doesn't matter. Those routines are used > in only a few drivers, and it looks like they can be replaced with > usb_autopm_get_interface() and usb_autopm_put_interface(). Still, it's > worth checking carefully -- the first step of the conversion will be to > make those replacements. > > In particular, do you agree this will be okay for the net/usb/kaweth, > net/wimax/i2400m, and media/video/stk-webcam drivers? I see no problem for these drivers and I'm doing the conversion right now. So we can try to get the changes in early in the next merge window. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html