aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-03-18 07:46:07 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-03-25 20:15:30 +0100
commit57cba225faf60f16f63b7aaba0dcd991a69666b5 (patch)
tree5e49f1a97609367f8ade9d44968efa071b171b15 /lib
parentcbea241e935ec754df44d5de0ad20b801f2d3f90 (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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions