Re: [PATCH] usb: fix possible oops in serial option driver

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

On Fri, 25 May 2012, Johan Hovold wrote:

> > Well tty-core shouldn't handle disconnect (which is usb-serial-
> > specific)
> Just to clarify: the tty layer could learn to deal with disconnect
> (useful also for cdc-acm for example), but currently it is handled in
> usb-serial core so moving it there first for dtr_rts makes sense.

The tty layer may not know how to handle disconnect, but it certainly 
does know about handling tty_unregister_device().  Since that routine 
gets called by the usb-serial core as part of disconnect processing, 
what more is really needed?

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

B and H Foto and Electronics Corp.

[Linux Media]     [Video for Linux]     [Linux Input]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]     [More Archives]

Add to Google Powered by Linux