[PATCH v1 1/1] phy: rockchip: usbdp: fix uninitialized variable

Vinod Koul vkoul at kernel.org
Wed Apr 17 07:39:43 PDT 2024


On Tue, 16 Apr 2024 16:51:23 +0200, Sebastian Reichel wrote:
> The ret variable may not be initialized in rk_udphy_usb3_phy_init(), if
> the PHY is not using USB3 mode.
> 
> Since the DisplayPort part is handled separately and the PHY does not
> support USB2 (which is routed to another PHY on Rockchip RK3588), the
> right exit code for this case is 0. Thus let's initialize the variable
> accordingly.
> 
> [...]

Applied, thanks!

[1/1] phy: rockchip: usbdp: fix uninitialized variable
      commit: c9342d1a351ee1249fa98d936f756299a83d5684

Best regards,
-- 
~Vinod





More information about the Linux-rockchip mailing list