Re: bug in usb_serial_probe?
Sarah Sharp <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <20070924175725.GA19752@localdomain> |
On Mon, Sep 24, 2007 at 10:30:34AM -0400, Alan Stern wrote: > On Mon, 24 Sep 2007, Oliver Neukum wrote: > > > Am Montag 24 September 2007 schrieb Sarah Sharp: > > > Shouldn't usb_serial_probe allow drivers to clean up if it calls the > > > probe or attach functions and a later action causes usb_serial_probe to > > > fail? > > > > Yes, this is a defficiency. We cannot simply call disconnect(), as > > the device is semiinitialised. A new method? > > Better to do what Greg suggested and rewrite the whole subsystem as a > library... Darn. Why do I pick the subsystems that need a rewrite? I was going to write an autosuspend patch for my pl2303 USB serial adaptor. I suppose it will be a good learning experience, even if the code doesn't get used in the rewrite. Sarah Sharp ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel