Re: [PATCH v2 01/25] usb: otg: add unified otg_notify function for usb_otg_event notification

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

 



On Mon, 13 Dec 2010, Felipe Balbi wrote:

> >Did you check if those things depending on blocking notifiers can be
> >changed?
> >
> >How about this, you introduce atomic notifiers without removing the
> >blocking once. The blocking notifiers you mark as deprecated. This way
> >you at least start discussion on the matter?
> 
> naa, that's two notifiers for the same thing. Just convert everybody to
> atomic notifiers.

The existing usb notifiers cannot be changed to atomic.  They get used 
by notifier routines that have to be able to sleep.

But of course that doesn't prevent anyone from creating a new atomic
notifier chain for use by OTG.

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


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

  Powered by Linux