Re: USB: prepare for changover to Runtime PM framework

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

 



On Fri, Nov 20, 2009 at 10:32:23PM +0100, Oliver Neukum wrote:
> Am Freitag, 20. November 2009 21:04:54 schrieb Greg KH:
> > 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.
> 
> I submitted patches to do so. It is possible they ended up in
> other trees but not yours. Do you want me to resubmit?

Probably, as I see the errors in the drivers/net/usb and wimax subdirs.
Can you resend them to me, so that I can at least build my tree?  When
it comes to merge time, I'll defer to David Miller to take them.

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