On Thu, 4 Nov 2010 tom.leiming@xxxxxxxxx wrote: > Hi, > > This patch set converts the usb autosuspend implement to runtime pm API, > also use pm_runtime_no_callbacks to set no_callbacks flag for usb interface, > and use pm_runtime_mark_last_busy implement usb_mark_last_busy. > > drivers/usb/core/driver.c | 93 +++++++++++++++++--------------------------- > drivers/usb/core/hub.c | 1 + > drivers/usb/core/message.c | 2 + > drivers/usb/core/quirks.c | 2 +- > drivers/usb/core/sysfs.c | 25 +---------- > drivers/usb/core/usb.c | 2 +- > include/linux/usb.h | 5 +- > 7 files changed, 46 insertions(+), 84 deletions(-) I have had a pair of patches to do this for the last month or two. They couldn't be posted until 2.6.37-rc1 was released, and there hasn't been time to post them in the last week because of all the conferences. Let me compare what you have written to my changes before anything is accepted. Alan Stern -- 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