commit | f227e64afb024d24e5e1d65efe2361e91cc052da | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Feb 24 09:14:55 2016 -0700 |
committer | Simon Glass <sjg@chromium.org> | Fri Feb 26 08:53:10 2016 -0700 |
tree | 072899c19ddc692f8107ce500fa439a35e70f241 | |
parent | db45d9ec81bec6d7dd2e0a46ed1130cb976687fe [diff] |
sandbox: spi: Remove an incorrect free() 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@chromium.org> Reviewed-by: Jagan Teki <jteki@openedev.com> Tested-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Tom Rini <trini@konsulko.com>