Re: [PATCH] USB: serial: Fix read regression in 2.6.31

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

 



Am Donnerstag, 1. Oktober 2009 16:52:24 schrieb Alan Cox:

> > OK, I see. Can we get away at least with ignoring throttle/unthrottle
> > if a shutdown has already begun?
>
> That depends how you implement flow control and hardware flow control
> lines in the driver.
>
> Assuming you remember to correct the hardware flow lines when
> initialising so you don't leave the hardware flow signals as "throttled"
> I don't see any reason for a specific driver to care.

Good.

> It seems to me to be mostly an implementation thing - it may also of
> course be that the best time to do the final hardware takedown on USB is
> the async callback made after the final kref is dropped ?

Because the last kref can be dropped after disconnect() I am afraid this
is impossible.

	Regards
		Oliver

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