summaryrefslogtreecommitdiff
path: root/include/rc4.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-24 16:14:56 (GMT)
committerSimon Glass <sjg@chromium.org>2016-02-26 15:53:10 (GMT)
commit0badb23d110c886cf25550325f36ce1eba1eb5e2 (patch)
tree26e8ea35370c5d17180ddb96509ea1e97b8771d8 /include/rc4.h
parentffe276d27a538ca410d697126c562a1ce0ac8bbc (diff)
downloadu-boot-fsl-qoriq-0badb23d110c886cf25550325f36ce1eba1eb5e2.tar.xz
spi: Correct two error return values
When an error number is provided we should use it, not change it. This fixes the SPI and SPI flash tests. One of these is long-standing. The other seems to have been introduced by commit 1e90d9fd (sf: Move read_id code to sf_ops). Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 1e90d9fd (sf: Move read_id code to sf_ops) Reviewed-by: Jagan Teki <jteki@openedev.com> Tested-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include/rc4.h')
0 files changed, 0 insertions, 0 deletions