Re: USB: prepare for changover to Runtime PM framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 13, 2009 at 11:54:47AM -0500, Alan Stern wrote:
> 
> This patch (as1303) revises the USB Power Management infrastructure to
> make it compatible with the new driver-model Runtime PM framework:
> 
> 	Drivers are no longer allowed to access intf->pm_usage_cnt
> 	directly; the PM framework manages its own usage counters.
> 
> 	usb_autopm_set_interface() is eliminated, because it directly
> 	sets intf->pm_usage_cnt.
> 
> 	usb_autopm_enable() and usb_autopm_disable() are eliminated,
> 	because they call usb_autopm_set_interface().

But there are still in-tree drivers using these functions.  Applying the
patch breaks the build for them :(

Care to fix them up first?  Otherwise I can't accept this patch.

thanks,

greg k-h
--
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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux