From: John Crispin Date: Wed, 30 Jan 2013 20:33:30 +0000 (+0100) Subject: spi/mips-lantiq: make use of spi_finalize_current_message X-Git-Tag: Ubuntu-5.10.0-12.13~19730^2~5 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=737a7c43807b9d01bc01e741b2095c8b4dcc1b13;p=mirror_ubuntu-hirsute-kernel.git 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 Signed-off-by: John Crispin Signed-off-by: Grant Likely --- 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, } m->status = ret; - m->complete(m->context); + spi_finalize_current_message(master); return 0; }