Re: [PATCH 2/5] usb: dwc3-generic: Return early when there is no child node

2023-07-13 Thread Marek Vasut
On 7/13/23 11:51, Jonas Karlman wrote: Hi Marek, Sorry for a late reply. On 2023-06-05 12:12, Marek Vasut wrote: On 5/30/23 12:26, Jonas Karlman wrote: The call to device_find_first_child always return 0, change to return early when there is no child node. Signed-off-by: Jonas Karlman ---

Re: [PATCH 2/5] usb: dwc3-generic: Return early when there is no child node

2023-07-13 Thread Jonas Karlman
Hi Marek, Sorry for a late reply. On 2023-06-05 12:12, Marek Vasut wrote: > On 5/30/23 12:26, Jonas Karlman wrote: >> The call to device_find_first_child always return 0, change to return >> early when there is no child node. >> >> Signed-off-by: Jonas Karlman >> --- >>

Re: [PATCH 2/5] usb: dwc3-generic: Return early when there is no child node

2023-06-05 Thread Marek Vasut
On 5/30/23 12:26, Jonas Karlman wrote: The call to device_find_first_child always return 0, change to return early when there is no child node. Signed-off-by: Jonas Karlman --- drivers/usb/dwc3/dwc3-generic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 2/5] usb: dwc3-generic: Return early when there is no child node

2023-06-01 Thread Jonas Karlman
Hi Jagan, On 2023-06-01 06:10, Jagan Teki wrote: > On Tue, May 30, 2023 at 3:56 PM Jonas Karlman wrote: >> >> The call to device_find_first_child always return 0, change to return >> early when there is no child node. > > Can you explain a little more about this? Maybe adding device-tree >

Re: [PATCH 2/5] usb: dwc3-generic: Return early when there is no child node

2023-05-31 Thread Jagan Teki
On Tue, May 30, 2023 at 3:56 PM Jonas Karlman wrote: > > The call to device_find_first_child always return 0, change to return > early when there is no child node. Can you explain a little more about this? Maybe adding device-tree pipeline will give a better understanding of the issue. Jagan.

[PATCH 2/5] usb: dwc3-generic: Return early when there is no child node

2023-05-30 Thread Jonas Karlman
The call to device_find_first_child always return 0, change to return early when there is no child node. Signed-off-by: Jonas Karlman --- drivers/usb/dwc3/dwc3-generic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-generic.c