commit | 81f910e9fa2e34d7a6d48c133eb1d727e82d4534 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Mar 18 07:46:07 2021 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Mar 25 20:15:30 2021 +0100 |
tree | 5e49f1a97609367f8ade9d44968efa071b171b15 | |
parent | 773c090a5b71f67afcca92c10b0c07f3431d5beb [diff] |
dfu: dfu_sf: avoid double free of SPI device 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 <xypron.glpk@gmx.de> Acked-by: Lukasz Majewski <lukma@denx.de>