]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: core: Restore sysfs fwnode information
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 30 Dec 2025 13:59:18 +0000 (08:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:14:57 +0000 (10:14 +0100)
commit2494b4d8a1ba45851db960a84ca8a2034756edf6
tree388f133e6d80704fcd90c0f076cbf65f9cc23bcc
parent1060180f3619e5e51003e0f4695931830d655bbe
serial: core: Restore sysfs fwnode information

[ Upstream commit 24ec03cc55126b7b3adf102f4b3d9f716532b329 ]

The change that restores sysfs fwnode information does it only for OF cases.
Update the fix to cover all possible types of fwnodes.

Fixes: d36f0e9a0002 ("serial: core: restore of_node information in sysfs")
Cc: stable <stable@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20251127163650.2942075-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_base_bus.c