Re: [PATCH 1/3] phy: sun4i-usb: Fix of_xlate() argument check

2023-06-09 Thread Jernej Škrabec
Dne petek, 09. junij 2023 ob 12:56:19 CEST je Andre Przywara napisal(a): > In its of_xlate() function, the Allwinner USB PHY driver compares the > args_count variable against the number of implemented USB PHYs, although > this is the *number of arguments* to the DT phandle property. Per the DT >

[PATCH 1/3] phy: sun4i-usb: Fix of_xlate() argument check

2023-06-09 Thread Andre Przywara
In its of_xlate() function, the Allwinner USB PHY driver compares the args_count variable against the number of implemented USB PHYs, although this is the *number of arguments* to the DT phandle property. Per the DT binding for this PHY device, this number is always one, so this check will always