This series fixes an issue resulting in unusabe Ethernet thanks to use of large URB buffer size. It also include miscellaneous cleanup and refactor to make the driver closer match the Linux ASIX AX88xxx driver.
The URB buffer size change patch is the only patch that was needed to fix the non working Ethernet issue observed on a Rockchip RK3528 board using a UGREEN USB 3.0 (AX88179B) or UGREEN USB 2.0 (AX88772E) Ethernet adapter. Remaining patches is a biproduct of debugging that issue. Jonas Karlman (6): usb: eth: asix88179: Use negative ECOMM return value usb: eth: asix88179: Use a fixed URB buffer size of 16 KiB usb: eth: asix88179: Make functions static and align params usb: eth: asix88179: Refactor asix_send_common() to closer match Linux usb: eth: asix88179: Refactor ax88179_eth_recv() to closer match Linux usb: eth: asix88179: Add read_rom_hwaddr() ops drivers/usb/eth/asix88179.c | 134 ++++++++++++++++++------------------ 1 file changed, 68 insertions(+), 66 deletions(-) -- 2.52.0

