Re: [Patch 2/2] usb/serial/mct_usb232: add delay on close

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

 



On Mon, 7 Dec 2009 00:10:25 -0700
Pete Zaitcev <zaitcev@xxxxxxxxxx> wrote:

> On Sun, 6 Dec 2009 00:04:35 +0000
> Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> 
> > > I suppose cdc-acm should do likewise, shouldn't it?
> > 
> > Looking at the code ACM seems to carefully wait for all the URBS to come
> > in so if the ACM hardware returns the URB at the point it has left any
> > internal buffering then the current code looks correct.
> 
> Speaking of cdc-acm.c, why is it that acm_port_down is always called
> with the "drain" argument set to zero (2.6.32-rc7)?

Its already handled by ->chars_in_buffer with the standardised open/close
logic. Once we are sure that is behaving happily the old code can go.
Until then I kept it.

Alan
--
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