Re: device registration callback for usb-serial

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

 



On Thu, Aug 10, 2017 at 10:27:31AM +0200, Samuel Thibault wrote:
> Oliver Neukum, on jeu. 10 ao??t 2017 10:03:51 +0200, wrote:
> > You cannot make assumptions about driver load. Your driver was loaded.
> > End of story. Register it with the proper subsystem.
> 
> The subsystem in question is a line discipline. Registering a line
> discipline will not trigger applying it to the serial port, so it's not
> enough.
> 
> Samuel

Okay, it looks like port_probe callback inside usb_serial_driver does
this. It gets passed in usb_serial_port which is enough.

Thanks,
Okash
--
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