[U-Boot] [PATCH 14/16] sandbox: spi: Remove an incorrect free()
Tom Rini
trini at konsulko.com
Mon Feb 15 23:37:29 CET 2016
On Sun, Feb 14, 2016 at 06:36:58PM -0700, Simon Glass wrote:
> We must not free data that is managed by driver mode. Remove this line,
> which is a hangover from the pre-driver-model code.
>
> This fixes a problem where 'sf probe' crashes U-Boot if the backing file
> for the SPI flash cannot be found.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160215/048b791c/attachment.sig>
More information about the U-Boot
mailing list