2010/11/5 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>: > 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. This post also has been run on my laptop and beagle-xm for several weeks. In fact, I wrote this just for studying runtime PM and had not plan to merge it into upstream before. But I don't see this kind of patches even after -rc1 is released, so send it out... > > Let me compare what you have written to my changes before anything is > accepted. No problem for me, let you decide it. Will be very grateful if you can give a review on the patch set no matter it may be accepted or not. thanks, -- Lei Ming -- 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