Commit Graph

5 Commits

Author SHA1 Message Date
Eneas U de Queiroz e399927bee
xr_usb_serial_common: bump to 2022-03-30
This is the latest commit that touches the xr_usb_serial_common-1a dir.
The changes are restricted to whitespace fixes and kernel version
adaptations:
ecc6ebe xr_usb: Use tty_driver_kref_put for kernel 5.15 and above
caf6d25 xr_usb: Use tty_alloc_driver for kernel 5.15 and above
a42b7e6 xr_usb: Compilation fixes for kernel 5.14
497adb7 #39 fix compilation for newer linux kernels
9103471 xr_usb: fix some whitespace errors

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit eadab32450)
2022-07-14 12:47:04 +02:00
David Bauer ec7d12bd8e xr_usb_serial_common: fix kernel 5.4 builds
Building the xr_usb_serial module fails for Kenel 5.4 with CONFIG_PM
enabled:

xr_usb_serial_common.c:1574:15: error: 'ASYNCB_INITIALIZED' undeclared
(first use in this function); did you mean 'RCU_INITIALIZER'?

Use tty_port_initialized in order to determine the status of the TTY
port.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 69cf7836df)
2021-06-05 16:00:54 +02:00
Rosen Penev 18aa332f9a
xr_usb_serial_common: update to 2017-08-01
Cleaned up Makefile to modern standards.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-31 18:09:20 -08:00
David Bauer 00d598ede6 xr_usb_serial_common: replace SUBDIRS with M in package recipe
The SUBDIRS variable has been removed in kernel 5.4, and was deprecated
since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-03-11 00:48:40 +01:00
Daniel Golle 5d31eaccc6 add xr_usb_serial_common driver for USB to RS-485/RS-422
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-06-24 16:02:25 +02:00