#define ACM_READY(acm) (acm & acm->dev & acm->port. Is there any betterĭrivers/usb/class/cdc-acm.c | 42 ++++++++++++++++++++++-ġ files changed, 22 insertions(+), 20 deletions(-)ĭiff -git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c How about something along these lines? I haven't tested it yet, and in fact I'mĪ bit worried about the possible lack of symmetry between the tty_port_get() inĪcm_tty_open() and the tty_port_put() in acm_tty_cleanup(). That they're done with the object, and free it when both are done. Tty_port, we can let the TTY side and the USB side indenpendently signal This means we need some other way of preventing the device state fromīeing freed before we're done cleaning up. We can't hold open_lock while calling tty_port_close_start, which takesīig_tty_mutex, because open_lock and big_tty_mutex are taken in the Next in thread: Alan Cox: "Re: cdc-acm: Fix potential deadlock (lockdep warning)".In reply to: Havard Skinnemoen: "Re: tty related lockdep trace during bootup on 3.2-rc2".Previous message: Tony Lindgren: "Re: clk: export tree topology and clk data via sysfs".Next message: Mark Brown: "Re: Device tree support for regulators".module parameters can specify the VID, PID, device version, manufacturer string, product string, serialnumber, whether or not to use CDC ACM, CDC OBEX, and the number of ports to create. Linux-Kernel Archive: cdc-acm: Fix potential deadlock (lockdep warning) cdc-acm: Fix potential deadlock (lockdep warning) From: Havard Skinnemoen On Linux the cdcacm driver will enumerate this device as /dev/ttyACMx (x number), on Windows new COM ports will appear.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |