summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/xarray.py
diff options
context:
space:
mode:
authorArtem Shimko <a.shimko.dev@gmail.com>2025-10-19 12:51:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-29 16:10:31 +0300
commitaef96a3f60b5104997a7b18493bee9a9e85fbf29 (patch)
treee6891da0ec7a598aabcecc6d10f9f9b12d8d00e0 /scripts/gdb/linux/xarray.py
parent15a7c59ebfb1d1c6c8d0ccc1bec0c8e478bebea6 (diff)
downloadlinux-aef96a3f60b5104997a7b18493bee9a9e85fbf29.tar.xz
serial: 8250_dw: handle reset control deassert error
commit daeb4037adf7d3349b4a1fb792f4bc9824686a4b upstream. Check the return value of reset_control_deassert() in the probe function to prevent continuing probe when reset deassertion fails. Previously, reset_control_deassert() was called without checking its return value, which could lead to probe continuing even when the device reset wasn't properly deasserted. The fix checks the return value and returns an error with dev_err_probe() if reset deassertion fails, providing better error handling and diagnostics. Fixes: acbdad8dd1ab ("serial: 8250_dw: simplify optional reset handling") Cc: stable <stable@kernel.org> Signed-off-by: Artem Shimko <a.shimko.dev@gmail.com> Link: https://patch.msgid.link/20251019095131.252848-1-a.shimko.dev@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions