]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: core: Fix serial device initialization
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Fri, 19 Dec 2025 15:28:12 +0000 (16:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Dec 2025 10:53:37 +0000 (11:53 +0100)
commitf54151148b969fb4b62bec8093d255306d20df30
tree35a2960d4b512267060af493d200527dab9e78fc
parent5edb7338d6117bb0ce17ead7973c67390da42258
serial: core: Fix serial device initialization

During restoring sysfs fwnode information the information of_node_reused
was dropped. This was previously set by device_set_of_node_from_dev().
Add it back manually

Fixes: 24ec03cc5512 ("serial: core: Restore sysfs fwnode information")
Cc: stable <stable@kernel.org>
Suggested-by: Cosmin Tanislav <demonsingur@gmail.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Tested-by: Michael Walle <mwalle@kernel.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Cosmin Tanislav <demonsingur@gmail.com>
Link: https://patch.msgid.link/20251219152813.1893982-1-alexander.stein@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_base_bus.c