"Dunlap, Randy" wrote:
>
> Johan,
>
> usb_start_wait_urb() is currently used for sync. control
> and bulk messages [which aren't going away]. It wouldn't
> make sense (to me) to use it for Interrupt or Isoc messages.
> Where/when do you use it?
> What's wrong with just using usb_control_msg() and
> usb_bulk_msg()?
nothing... I like'em :) but they are not conform the urb based interface. I
understood that they will eventually go away too, right ?
If they are we need something like usb_submit_urb_sync (a wrapper around
usb_submit_urb()) to avoid typing work and duplicate code.
This can easily be done by tweaking usb_start_wait_urb()... ( i'll do it fi
you want.)
We wouldn't need the compatibilty wrappers anymore without creating too much
update work...
> I don't understand you "little sub_*" wrapper".
> To wrap what?
usb_submit_urb(). the sub_* is a typo for usb_* (usb_*())
sorry for the confusion... my mind get's kinda messy sometimes ;)
(especially when i get too little sleep)
J.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]