diff options
author | John Crispin <blogic@openwrt.org> | 2013-01-30 15:33:30 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2013-02-05 12:16:41 -0500 |
commit | 737a7c43807b9d01bc01e741b2095c8b4dcc1b13 (patch) | |
tree | e6ebcfd4e7a53f426a2ddab0797290401d8a886d /drivers/spi | |
parent | b17de076062a677b11ec5054d61184d0134e851f (diff) |
spi/mips-lantiq: make use of spi_finalize_current_message
Rather than calling m->complete() directly we choose the sane way and call
spi_finalize_current_message instead.
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-falcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c index 6a6f62ec2840..f9c66c224a17 100644 --- a/drivers/spi/spi-falcon.c +++ b/drivers/spi/spi-falcon.c | |||
@@ -398,7 +398,7 @@ static int falcon_sflash_xfer_one(struct spi_master *master, | |||
398 | } | 398 | } |
399 | 399 | ||
400 | m->status = ret; | 400 | m->status = ret; |
401 | m->complete(m->context); | 401 | spi_finalize_current_message(master); |
402 | 402 | ||
403 | return 0; | 403 | return 0; |
404 | } | 404 | } |