Re: [PATCH] spl: spl_sdp: don't call board_usb_init twice

2022-04-20 Thread Angus Ainslie
Hi On 2022-01-17 06:11, Angus Ainslie wrote: When CONFIG_DM_USB is not defined then usb_gadget_initialize is just a call to board_usb_init. Calling board_usb_init twice causes the USB to fail so make sure the second invocation is not compiled in when CONFIG_DM_USB is not defined. Signed-off-

[PATCH] spl: spl_sdp: don't call board_usb_init twice

2022-01-17 Thread Angus Ainslie
When CONFIG_DM_USB is not defined then usb_gadget_initialize is just a call to board_usb_init. Calling board_usb_init twice causes the USB to fail so make sure the second invocation is not compiled in when CONFIG_DM_USB is not defined. Signed-off-by: Angus Ainslie --- common/spl/spl_sdp.c | 3 ++