RE: [PATCH] spl: sdp: Pass the USB index to board_usb_init()

2022-07-13 Thread Peng Fan
> Subject: [PATCH] spl: sdp: Pass the USB index to board_usb_init() > > From: Fabio Estevam > > board_usb_init() should receive the controller_index as its first parameter > instead of having it hardcoded as 0. > > All in-tree users have CONFIG_SPL_SDP_USB_DEV as 0, so

[PATCH] spl: sdp: Pass the USB index to board_usb_init()

2022-07-13 Thread Fabio Estevam
From: Fabio Estevam board_usb_init() should receive the controller_index as its first parameter instead of having it hardcoded as 0. All in-tree users have CONFIG_SPL_SDP_USB_DEV as 0, so this error should not affect any board. Fix it by passing controller_index as the parameter of board_usb_in