On Mon, 8 Mar 2010 14:10:03 +0100 Alessio Igor Bogani <abogani@xxxxxxxxxx> wrote: > The change_speed() function set the baudrate of the device: so this function > should be serialized against multiple calls. Use the cfg_lock mutex to do this. Should be ok anyway the set_termios callback occurs under the tty termios lock, and will not occur in parallel with an initial open or final close. 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