Files
linux-stable-mirror/drivers
Chih Kai HsuandGreg Kroah-Hartman 30b071675b r8152: handle the return value of usb_reset_device()
[ Upstream commit 19440600e7 ]

If usb_reset_device() returns a negative error code, stop the
process of probing.

Fixes: 10c3271712 ("r8152: disable the ECM mode")
Signed-off-by: Chih Kai Hsu <hsu.chih.kai@realtek.com>
Reviewed-by: Hayes Wang <hayeswang@realtek.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20260604092247.27158-450-nic_swsd@realtek.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-06-19 13:37:12 +02:00
..
2026-06-19 13:37:09 +02:00