commit | 615c220b85f71d596938b54ae92e44006e72ad84 | [log] [tgz] |
---|---|---|
author | Brad Bozarth <bflinux@yumbrad.com> | Thu Jan 01 22:45:47 2009 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Sat Jan 24 01:57:40 2009 +0100 |
tree | a375c69324a631741424cbaef3dfe46c5e8099ee | |
parent | 7ed66f7130b5125cfb3e8c114180a87a2e9e7170 [diff] |
spi flash: fix crash due to spi flash miscommunication Higher spi flash layers expect to be given back a pointer that was malloced so that it can free the result, but the lower layers return a pointer that is in the middle of the malloced memory. Reorder the members of the lower spi structures so that things work out. Signed-off-by: Brad Bozarth <bflinux@yumbrad.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>