commit | 142e30fcaa1c3a63a1f0baf0b802ef888a0c250b | [log] [tgz] |
---|---|---|
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Tue Jul 14 10:26:56 2009 +0000 |
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Tue Jul 14 10:26:56 2009 +0000 |
tree | c286d89dadacecee2e68b84ce5606467e9ae33e8 | |
parent | 78e4e127129398454813d1552b516638837c423e [diff] |
Use a distinct return code for SPI commands with unsupported/invalid length Some drivers support only a few combinations of read/write length and return error otherwise. Having a distinct return code for this error means we can handle it in upper layers. Corresponding to flashrom svn r653. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>