Re: [PATCH] dfu: dfu_sf: avoid double free of SPI device

2021-03-25 Thread Lukasz Majewski
On Wed, 24 Mar 2021 18:21:37 +0100 Heinrich Schuchardt wrote: > On 19.03.21 00:55, Heinrich Schuchardt wrote: > > Multiple DFU entities may share the same SPI device. We must make > > sure that the SPI device is only freed once. > > > > When using the driver model it is not necessary to free the

Re: [PATCH] dfu: dfu_sf: avoid double free of SPI device

2021-03-24 Thread Heinrich Schuchardt
On 19.03.21 00:55, Heinrich Schuchardt wrote: > Multiple DFU entities may share the same SPI device. We must make sure that > the SPI device is only freed once. > > When using the driver model it is not necessary to free the SPI device. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/dfu/d