Re: [lng-odp] [API-NEXT PATCH 07/21] drv: driver: add callback function for device destruction

2017-02-27 Thread Christophe Milard
On 22 February 2017 at 23:20, Bill Fischofer wrote: > > > On Wed, Feb 22, 2017 at 6:55 AM, Christophe Milard > wrote: >> >> When a device is destroyed by an enumerator, odpdrv_device_destroy() is >> called. >> However, the complete device

Re: [lng-odp] [API-NEXT PATCH 07/21] drv: driver: add callback function for device destruction

2017-02-22 Thread Bill Fischofer
On Wed, Feb 22, 2017 at 6:55 AM, Christophe Milard < christophe.mil...@linaro.org> wrote: > When a device is destroyed by an enumerator, odpdrv_device_destroy() is > called. > However, the complete device destruction may require waiting for IO to be > completed: the device destruction is

[lng-odp] [API-NEXT PATCH 07/21] drv: driver: add callback function for device destruction

2017-02-22 Thread Christophe Milard
When a device is destroyed by an enumerator, odpdrv_device_destroy() is called. However, the complete device destruction may require waiting for IO to be completed: the device destruction is therefore divided in 2 steps: odpdrv_device_destroy() starts the device destruction, and the provided