Re: [PATCH net v2] net: usb: lan78xx: reject invalid EEPROM write requests
From: Daniel Machon
Date: Sun Oct 11 2026 - 04:50:55 EST
> The runtime PM handling removed the -EINVAL return for invalid
> EEPROM/OTP write requests. These requests now return zero from a
> successful usb_autopm_get_interface() call, even though no data is
> written.
>
> Set ret to -EINVAL for invalid requests while preserving the runtime
> PM reference release.
Reviewed-by: Daniel Machon <daniel.machon@xxxxxxxxxxxxx>