Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'tty-5.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty

Pull tty/serial fixes from Greg KH:
"Here are two tty/serial driver fixes for 5.5-rc6.

The first fixes a much much reported issue with a previous tty port
link patch that is in your tree, and the second fixes a problem where
the serdev driver would claim ACPI devices that it shouldn't be
claiming.

Both have been in linux-next for a while with no reported issues"

* tag 'tty-5.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
serdev: Don't claim unsupported ACPI serial devices
tty: always relink the port

+11 -2
+10
drivers/tty/serdev/core.c
··· 663 663 return AE_OK; 664 664 } 665 665 666 + static const struct acpi_device_id serdev_acpi_devices_blacklist[] = { 667 + { "INT3511", 0 }, 668 + { "INT3512", 0 }, 669 + { }, 670 + }; 671 + 666 672 static acpi_status acpi_serdev_add_device(acpi_handle handle, u32 level, 667 673 void *data, void **return_value) 668 674 { ··· 679 673 return AE_OK; 680 674 681 675 if (acpi_device_enumerated(adev)) 676 + return AE_OK; 677 + 678 + /* Skip if black listed */ 679 + if (!acpi_match_device_ids(adev, serdev_acpi_devices_blacklist)) 682 680 return AE_OK; 683 681 684 682 if (acpi_serdev_check_resources(ctrl, adev))
+1 -2
drivers/tty/tty_port.c
··· 89 89 { 90 90 if (WARN_ON(index >= driver->num)) 91 91 return; 92 - if (!driver->ports[index]) 93 - driver->ports[index] = port; 92 + driver->ports[index] = port; 94 93 } 95 94 EXPORT_SYMBOL_GPL(tty_port_link_device); 96 95