Re: [PATCH] cdc_acm: add reset_resume method

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

 



Am Montag, 7. Dezember 2009 18:58:00 schrieb Alan Cox:
> > +	if (acm->port.count) {
> > +		tty = tty_port_tty_get(&acm->port);
> > +		if (tty) {
> > +			tty_hangup(tty);
> > +			tty_kref_put(tty);
> > +		}
> 
> What locking do you have against a parallel open, hangup or close event on
> another CPU ?

Alan S.,

this touches the discussion we recently had on reset_resume() for devices
that require remote wakeup. The need for locking here depends on it.
Are you planning to submit any patches in that regard in this merge window?

	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