Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-19 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-16 Thread Simon Glass
Hi Hans, On 15 November 2015 at 12:35, Hans de Goede wrote: > > Hi, > > On 11/13/2015 10:58 PM, Simon Glass wrote: >> >> Hi Hans, > > > > > Talking about usb-stop, there is still one (BIG!) problem after > this patch set when building usb-support with DM_DEVICE_REMOVE > not set. This

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-15 Thread Hans de Goede
Hi, On 11/13/2015 10:58 PM, Simon Glass wrote: Hi Hans, Talking about usb-stop, there is still one (BIG!) problem after this patch set when building usb-support with DM_DEVICE_REMOVE not set. This means that the controllers dma engines will not be stopped when booting the actual OS and they

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-13 Thread Simon Glass
Hi Hans, On 12 November 2015 at 07:08, Hans de Goede wrote: > Hi, > > On 11-11-15 19:15, Simon Glass wrote: >> >> Hi Hans, >> >> On 11 November 2015 at 10:02, Hans de Goede >> wrote: > > > > >>> Ok, I've ran a whole battery of tests on your u-boot-dm/usb-working >>> branch. >> >> >> Thanks! >>

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-12 Thread Hans de Goede
Hi, On 11-11-15 19:15, Simon Glass wrote: Hi Hans, On 11 November 2015 at 10:02, Hans de Goede wrote: Ok, I've ran a whole battery of tests on your u-boot-dm/usb-working branch. Thanks! There are 2 issues: 1) You need to add these change to the commit introducing usb-keyb dm support

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-11 Thread Hans de Goede
Hi, On 11-11-15 00:30, Simon Glass wrote: Hi Hans, On 9 November 2015 at 12:25, Simon Glass wrote: Hi Hans, On 9 November 2015 at 00:22, Hans de Goede wrote: Hi, On 09-11-15 07:48, Simon Glass wrote: Each scan of the USB bus may return different results. Existing driver-model devices ar

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-11 Thread Simon Glass
Hi Hans, On 11 November 2015 at 10:02, Hans de Goede wrote: > > Hi, > > > On 11-11-15 00:30, Simon Glass wrote: >> >> Hi Hans, >> >> On 9 November 2015 at 12:25, Simon Glass wrote: >>> >>> Hi Hans, >>> >>> On 9 November 2015 at 00:22, Hans de Goede wrote: Hi, On 09-11-15 07:

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-11 Thread Hans de Goede
Hi, On 11-11-15 00:30, Simon Glass wrote: Hi Hans, On 9 November 2015 at 12:25, Simon Glass wrote: Hi Hans, On 9 November 2015 at 00:22, Hans de Goede wrote: Hi, On 09-11-15 07:48, Simon Glass wrote: Each scan of the USB bus may return different results. Existing driver-model devices ar

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-10 Thread Simon Glass
Hi Hans, On 9 November 2015 at 12:25, Simon Glass wrote: > Hi Hans, > > On 9 November 2015 at 00:22, Hans de Goede wrote: >> Hi, >> >> On 09-11-15 07:48, Simon Glass wrote: >>> >>> Each scan of the USB bus may return different results. Existing >>> driver-model >>> devices are reused when found,

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-09 Thread Simon Glass
Hi Hans, On 9 November 2015 at 00:22, Hans de Goede wrote: > Hi, > > On 09-11-15 07:48, Simon Glass wrote: >> >> Each scan of the USB bus may return different results. Existing >> driver-model >> devices are reused when found, but if a device no longer exists it will >> stay >> around, de-activat

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-09 Thread Hans de Goede
Hi, On 09-11-15 07:48, Simon Glass wrote: Each scan of the USB bus may return different results. Existing driver-model devices are reused when found, but if a device no longer exists it will stay around, de-activated, but bound. Detect these devices and remove them after the scan completes. Si

[U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-08 Thread Simon Glass
Each scan of the USB bus may return different results. Existing driver-model devices are reused when found, but if a device no longer exists it will stay around, de-activated, but bound. Detect these devices and remove them after the scan completes. Signed-off-by: Simon Glass --- Changes in v2: