Re: [PATCH] USB: serial: use tty_port_register_device_serdev

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

 



On Thu, May 02, 2024 at 11:07:28AM +0100, Mans Rullgard wrote:
> Use tty_port_register_device_serdev() so that usb-serial devices
> can be used as serdev controllers.

I'm afraid it's not that easy. The reason serdev is not enabled for
usb-serial is that there's currently no support for handling hotplug in
serdev. The device can go away from under you at any time and then you'd
crash the kernel.

Johan




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux