commit | b09c74f66d46fac7f25e53a0c06f832cf0638a5c | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Mar 10 18:23:57 2021 +0100 |
committer | Simon Glass <sjg@chromium.org> | Sat Mar 27 13:59:36 2021 +1300 |
tree | bdf953ea708091a606d1198f5de4133b961b4407 | |
parent | 619a81516d3c05a55f0ce5463dd38993c6e9adc2 [diff] |
mtd: spi_flash_free() dfu_free_entities() invoking dfu_free_entity_sf() has let to segementation faults due to double freeing the same device. spi_flash_free() is not relevant for the driver model but exists only for compatibility with old drivers. We must not remove any device here: * The device may still be referenced. * We don't want to have to probe again. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>