projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branches 'spi/fix/complete', 'spi/fix/efm32', 'spi/fix/omap2...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
spi
/
spi-txx9.c
diff --git
a/drivers/spi/spi-txx9.c
b/drivers/spi/spi-txx9.c
index 820b499816f8ebfb6bc45a56026dbe05b9b4311f..5f183baa91a98bb343747eced81ae6f4e09c4536 100644
(file)
--- a/
drivers/spi/spi-txx9.c
+++ b/
drivers/spi/spi-txx9.c
@@
-262,7
+262,8
@@
static void txx9spi_work_one(struct txx9spi *c, struct spi_message *m)
exit:
m->status = status;
- m->complete(m->context);
+ if (m->complete)
+ m->complete(m->context);
/* normally deactivate chipselect ... unless no error and
* cs_change has hinted that the next message will probably