summaryrefslogtreecommitdiff
path: root/cookie.h
blob: 14f18017fc1e9ad7561cb9c7cf4b0e056f0dd27c (plain)
1
2
3
4
5
6
#ifndef COOKIE_H
#define COOKIE_H

extern void to_std_log(FILE **fp);

#endif /* COOKIE_H */
ace:mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2016-09-07 22:51:29 +0200
committerMark Brown <broonie@kernel.org>2016-09-12 19:58:45 +0100
commit0319d4991ea6e7594f32843e1b47868737056799 (patch)
tree3dff2643578bfa72c328972a94ef3a1acec5d7f3
parente33a3ade909194ec2ca633a53b428d4dac853f8a (diff)
spi: fsl-espi: fix status handling in fsl_espi_do_one_msg
If an error occurred during message handling return this error instead of always returning 0 and align the code with the generic implementation in spi_transfer_one_message. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat
-rw-r--r--drivers/spi/spi-fsl-espi.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c